diff --git a/account.go b/account.go index 6c0b7b8e..bc1fe980 100644 --- a/account.go +++ b/account.go @@ -1,3 +1,20 @@ +// Copyright 2021 github.com/gagliardetto +// This file has been modified by github.com/gagliardetto +// +// Copyright 2020 dfuse Platform Inc. +// +// Licensed 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. + package solana import ( diff --git a/account_test.go b/account_test.go index 95de56dc..32b2b40a 100644 --- a/account_test.go +++ b/account_test.go @@ -1,3 +1,20 @@ +// Copyright 2021 github.com/gagliardetto +// This file has been modified by github.com/gagliardetto +// +// Copyright 2020 dfuse Platform Inc. +// +// Licensed 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. + package solana import ( diff --git a/constants.go b/constants.go index 8c97b949..d324690f 100644 --- a/constants.go +++ b/constants.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package solana const ( diff --git a/diff/diff.go b/diff/diff.go index 7c075abc..3e9ebf99 100644 --- a/diff/diff.go +++ b/diff/diff.go @@ -1,3 +1,17 @@ +// Copyright 2020 dfuse Platform Inc. +// +// Licensed 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. + package diff import ( diff --git a/diff/diff_test.go b/diff/diff_test.go index 89d8d8a8..528d2092 100644 --- a/diff/diff_test.go +++ b/diff/diff_test.go @@ -1,3 +1,17 @@ +// Copyright 2020 dfuse Platform Inc. +// +// Licensed 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. + package diff import ( diff --git a/diff/init_test.go b/diff/init_test.go index 313ce47e..d40ed1be 100644 --- a/diff/init_test.go +++ b/diff/init_test.go @@ -1,3 +1,17 @@ +// Copyright 2020 dfuse Platform Inc. +// +// Licensed 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. + package diff import "github.com/dfuse-io/logging" diff --git a/diff/logging.go b/diff/logging.go index 320ee795..b7e44262 100644 --- a/diff/logging.go +++ b/diff/logging.go @@ -1,3 +1,17 @@ +// Copyright 2020 dfuse Platform Inc. +// +// Licensed 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. + package diff import ( diff --git a/generic_instruction.go b/generic_instruction.go index 0f3b6b4c..8b9cac7b 100644 --- a/generic_instruction.go +++ b/generic_instruction.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package solana // NewInstruction creates a generic instruction with the provided diff --git a/generic_instruction_test.go b/generic_instruction_test.go index 7aba8df6..82dac496 100644 --- a/generic_instruction_test.go +++ b/generic_instruction_test.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package solana import ( diff --git a/init_test.go b/init_test.go index 3887bb34..1753f675 100644 --- a/init_test.go +++ b/init_test.go @@ -1,3 +1,17 @@ +// Copyright 2020 dfuse Platform Inc. +// +// Licensed 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. + package solana import ( diff --git a/interface.go b/interface.go index ae20895a..507521bc 100644 --- a/interface.go +++ b/interface.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package solana type AccountsSettable interface { diff --git a/json.go b/json.go index 431f06f9..d09ab711 100644 --- a/json.go +++ b/json.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package solana import ( diff --git a/keys.go b/keys.go index 08785dc7..e99e5dd3 100644 --- a/keys.go +++ b/keys.go @@ -1,3 +1,20 @@ +// Copyright 2021 github.com/gagliardetto +// This file has been modified by github.com/gagliardetto +// +// Copyright 2020 dfuse Platform Inc. +// +// Licensed 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. + package solana import ( diff --git a/keys_test.go b/keys_test.go index d1c15209..a1bda03f 100644 --- a/keys_test.go +++ b/keys_test.go @@ -1,3 +1,20 @@ +// Copyright 2021 github.com/gagliardetto +// This file has been modified by github.com/gagliardetto +// +// Copyright 2020 dfuse Platform Inc. +// +// Licensed 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. + package solana import ( diff --git a/nativetype_test.go b/nativetype_test.go index 720f7e1f..54c48949 100644 --- a/nativetype_test.go +++ b/nativetype_test.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package solana import ( diff --git a/program_ids.go b/program_ids.go index 13aaaf97..183d795e 100644 --- a/program_ids.go +++ b/program_ids.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package solana var ( diff --git a/programs/associated-token-account/Create.go b/programs/associated-token-account/Create.go index 37f97d28..3752423a 100644 --- a/programs/associated-token-account/Create.go +++ b/programs/associated-token-account/Create.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package associatedtokenaccount import ( diff --git a/programs/associated-token-account/instructions.go b/programs/associated-token-account/instructions.go index 1ea4fbab..fc1bf392 100644 --- a/programs/associated-token-account/instructions.go +++ b/programs/associated-token-account/instructions.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package associatedtokenaccount import ( diff --git a/programs/serum/instruction.go b/programs/serum/instruction.go index 17e019ad..c2cf1a5d 100644 --- a/programs/serum/instruction.go +++ b/programs/serum/instruction.go @@ -1,3 +1,20 @@ +// Copyright 2021 github.com/gagliardetto +// This file has been modified by github.com/gagliardetto +// +// Copyright 2020 dfuse Platform Inc. +// +// Licensed 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. + package serum import ( diff --git a/programs/serum/instruction_test.go b/programs/serum/instruction_test.go index efe820f6..3aed8fb2 100644 --- a/programs/serum/instruction_test.go +++ b/programs/serum/instruction_test.go @@ -1,3 +1,20 @@ +// Copyright 2021 github.com/gagliardetto +// This file has been modified by github.com/gagliardetto +// +// Copyright 2020 dfuse Platform Inc. +// +// Licensed 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. + package serum import ( diff --git a/programs/serum/json.go b/programs/serum/json.go index 57b4e6f3..7d255690 100644 --- a/programs/serum/json.go +++ b/programs/serum/json.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package serum import ( diff --git a/programs/serum/math.go b/programs/serum/math.go index a3bb7215..af8888cb 100644 --- a/programs/serum/math.go +++ b/programs/serum/math.go @@ -1,3 +1,20 @@ +// Copyright 2021 github.com/gagliardetto +// This file has been modified by github.com/gagliardetto +// +// Copyright 2020 dfuse Platform Inc. +// +// Licensed 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. + package serum import ( diff --git a/programs/serum/math_test.go b/programs/serum/math_test.go index 47e47033..2d684c4b 100644 --- a/programs/serum/math_test.go +++ b/programs/serum/math_test.go @@ -1,3 +1,20 @@ +// Copyright 2021 github.com/gagliardetto +// This file has been modified by github.com/gagliardetto +// +// Copyright 2020 dfuse Platform Inc. +// +// Licensed 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. + package serum import ( diff --git a/programs/serum/program.go b/programs/serum/program.go index 5e17cf4c..a79784df 100644 --- a/programs/serum/program.go +++ b/programs/serum/program.go @@ -1,3 +1,20 @@ +// Copyright 2021 github.com/gagliardetto +// This file has been modified by github.com/gagliardetto +// +// Copyright 2020 dfuse Platform Inc. +// +// Licensed 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. + package serum import "github.com/gagliardetto/solana-go" diff --git a/programs/serum/types_test.go b/programs/serum/types_test.go index 7513d075..a03b8871 100644 --- a/programs/serum/types_test.go +++ b/programs/serum/types_test.go @@ -1,3 +1,20 @@ +// Copyright 2021 github.com/gagliardetto +// This file has been modified by github.com/gagliardetto +// +// Copyright 2020 dfuse Platform Inc. +// +// Licensed 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. + package serum import ( diff --git a/programs/system/AdvanceNonceAccount.go b/programs/system/AdvanceNonceAccount.go index de7133c9..8a14c79e 100644 --- a/programs/system/AdvanceNonceAccount.go +++ b/programs/system/AdvanceNonceAccount.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package system import ( diff --git a/programs/system/AdvanceNonceAccount_test.go b/programs/system/AdvanceNonceAccount_test.go index 869f066f..ab124dd5 100644 --- a/programs/system/AdvanceNonceAccount_test.go +++ b/programs/system/AdvanceNonceAccount_test.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package system import ( diff --git a/programs/system/Allocate.go b/programs/system/Allocate.go index 8bba028b..639fb786 100644 --- a/programs/system/Allocate.go +++ b/programs/system/Allocate.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package system import ( diff --git a/programs/system/AllocateWithSeed.go b/programs/system/AllocateWithSeed.go index 71a0d341..5a4cba02 100644 --- a/programs/system/AllocateWithSeed.go +++ b/programs/system/AllocateWithSeed.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package system import ( diff --git a/programs/system/AllocateWithSeed_test.go b/programs/system/AllocateWithSeed_test.go index 5d9ce7f6..cb7ba41d 100644 --- a/programs/system/AllocateWithSeed_test.go +++ b/programs/system/AllocateWithSeed_test.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package system import ( diff --git a/programs/system/Allocate_test.go b/programs/system/Allocate_test.go index 26ac2942..79b3314a 100644 --- a/programs/system/Allocate_test.go +++ b/programs/system/Allocate_test.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package system import ( diff --git a/programs/system/Assign.go b/programs/system/Assign.go index 18e78a1b..36e8ac6e 100644 --- a/programs/system/Assign.go +++ b/programs/system/Assign.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package system import ( diff --git a/programs/system/AssignWithSeed.go b/programs/system/AssignWithSeed.go index 1ffc3239..6dafdc63 100644 --- a/programs/system/AssignWithSeed.go +++ b/programs/system/AssignWithSeed.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package system import ( diff --git a/programs/system/AssignWithSeed_test.go b/programs/system/AssignWithSeed_test.go index 5bbe3995..a5bc0f8b 100644 --- a/programs/system/AssignWithSeed_test.go +++ b/programs/system/AssignWithSeed_test.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package system import ( diff --git a/programs/system/Assign_test.go b/programs/system/Assign_test.go index 1c37f827..9cdadb09 100644 --- a/programs/system/Assign_test.go +++ b/programs/system/Assign_test.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package system import ( diff --git a/programs/system/AuthorizeNonceAccount.go b/programs/system/AuthorizeNonceAccount.go index 45be7345..cd4b4336 100644 --- a/programs/system/AuthorizeNonceAccount.go +++ b/programs/system/AuthorizeNonceAccount.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package system import ( diff --git a/programs/system/AuthorizeNonceAccount_test.go b/programs/system/AuthorizeNonceAccount_test.go index 9c8b01d5..5161c9de 100644 --- a/programs/system/AuthorizeNonceAccount_test.go +++ b/programs/system/AuthorizeNonceAccount_test.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package system import ( diff --git a/programs/system/CreateAccount.go b/programs/system/CreateAccount.go index 921626b3..859c0e3e 100644 --- a/programs/system/CreateAccount.go +++ b/programs/system/CreateAccount.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package system import ( diff --git a/programs/system/CreateAccountWithSeed.go b/programs/system/CreateAccountWithSeed.go index c1751031..e3700f30 100644 --- a/programs/system/CreateAccountWithSeed.go +++ b/programs/system/CreateAccountWithSeed.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package system import ( diff --git a/programs/system/CreateAccountWithSeed_test.go b/programs/system/CreateAccountWithSeed_test.go index df8b614e..0f2364ed 100644 --- a/programs/system/CreateAccountWithSeed_test.go +++ b/programs/system/CreateAccountWithSeed_test.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package system import ( diff --git a/programs/system/CreateAccount_test.go b/programs/system/CreateAccount_test.go index 8df6b95b..9ec58184 100644 --- a/programs/system/CreateAccount_test.go +++ b/programs/system/CreateAccount_test.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package system import ( diff --git a/programs/system/InitializeNonceAccount.go b/programs/system/InitializeNonceAccount.go index eb7f71b3..802a66ab 100644 --- a/programs/system/InitializeNonceAccount.go +++ b/programs/system/InitializeNonceAccount.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package system import ( diff --git a/programs/system/InitializeNonceAccount_test.go b/programs/system/InitializeNonceAccount_test.go index aa101835..af118c72 100644 --- a/programs/system/InitializeNonceAccount_test.go +++ b/programs/system/InitializeNonceAccount_test.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package system import ( diff --git a/programs/system/Transfer.go b/programs/system/Transfer.go index 868c51c5..5ed3cd92 100644 --- a/programs/system/Transfer.go +++ b/programs/system/Transfer.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package system import ( diff --git a/programs/system/TransferWithSeed.go b/programs/system/TransferWithSeed.go index d24b7876..9102c845 100644 --- a/programs/system/TransferWithSeed.go +++ b/programs/system/TransferWithSeed.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package system import ( diff --git a/programs/system/TransferWithSeed_test.go b/programs/system/TransferWithSeed_test.go index 7ac2ed38..9469ca6e 100644 --- a/programs/system/TransferWithSeed_test.go +++ b/programs/system/TransferWithSeed_test.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package system import ( diff --git a/programs/system/Transfer_test.go b/programs/system/Transfer_test.go index 7526cc3f..16981fa7 100644 --- a/programs/system/Transfer_test.go +++ b/programs/system/Transfer_test.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package system import ( diff --git a/programs/system/WithdrawNonceAccount.go b/programs/system/WithdrawNonceAccount.go index f6846d53..c9aefc8c 100644 --- a/programs/system/WithdrawNonceAccount.go +++ b/programs/system/WithdrawNonceAccount.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package system import ( diff --git a/programs/system/WithdrawNonceAccount_test.go b/programs/system/WithdrawNonceAccount_test.go index de84e109..42664219 100644 --- a/programs/system/WithdrawNonceAccount_test.go +++ b/programs/system/WithdrawNonceAccount_test.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package system import ( diff --git a/programs/system/accounts.go b/programs/system/accounts.go index 9b140a34..c1aef567 100644 --- a/programs/system/accounts.go +++ b/programs/system/accounts.go @@ -1 +1,15 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package system diff --git a/programs/system/instructions.go b/programs/system/instructions.go index 5f41b993..c0089d13 100644 --- a/programs/system/instructions.go +++ b/programs/system/instructions.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + // Create new accounts, allocate account data, assign accounts to owning programs, // transfer lamports from System Program owned accounts and pay transacation fees. diff --git a/programs/system/testing_utils.go b/programs/system/testing_utils.go index c7916c09..b0ef9fb5 100644 --- a/programs/system/testing_utils.go +++ b/programs/system/testing_utils.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package system import ( diff --git a/programs/system/types.go b/programs/system/types.go index 9b140a34..c1aef567 100644 --- a/programs/system/types.go +++ b/programs/system/types.go @@ -1 +1,15 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package system diff --git a/programs/token/Approve.go b/programs/token/Approve.go index 1d8c555d..e7fb6680 100644 --- a/programs/token/Approve.go +++ b/programs/token/Approve.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ( diff --git a/programs/token/ApproveChecked.go b/programs/token/ApproveChecked.go index 2dbb05e0..fcfb9f50 100644 --- a/programs/token/ApproveChecked.go +++ b/programs/token/ApproveChecked.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ( diff --git a/programs/token/ApproveChecked_test.go b/programs/token/ApproveChecked_test.go index 69de9f78..f57749fe 100644 --- a/programs/token/ApproveChecked_test.go +++ b/programs/token/ApproveChecked_test.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ( diff --git a/programs/token/Approve_test.go b/programs/token/Approve_test.go index 048955fe..6a445b84 100644 --- a/programs/token/Approve_test.go +++ b/programs/token/Approve_test.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ( diff --git a/programs/token/Burn.go b/programs/token/Burn.go index d0a6946a..ec745ac1 100644 --- a/programs/token/Burn.go +++ b/programs/token/Burn.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ( diff --git a/programs/token/BurnChecked.go b/programs/token/BurnChecked.go index 19dbf366..c434e6db 100644 --- a/programs/token/BurnChecked.go +++ b/programs/token/BurnChecked.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ( diff --git a/programs/token/BurnChecked_test.go b/programs/token/BurnChecked_test.go index 3f116c08..1c97fb0b 100644 --- a/programs/token/BurnChecked_test.go +++ b/programs/token/BurnChecked_test.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ( diff --git a/programs/token/Burn_test.go b/programs/token/Burn_test.go index 10d6ad37..ec6c327d 100644 --- a/programs/token/Burn_test.go +++ b/programs/token/Burn_test.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ( diff --git a/programs/token/CloseAccount.go b/programs/token/CloseAccount.go index a9e4a448..3d4101da 100644 --- a/programs/token/CloseAccount.go +++ b/programs/token/CloseAccount.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ( diff --git a/programs/token/CloseAccount_test.go b/programs/token/CloseAccount_test.go index db8beda8..0320da81 100644 --- a/programs/token/CloseAccount_test.go +++ b/programs/token/CloseAccount_test.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ( diff --git a/programs/token/FreezeAccount.go b/programs/token/FreezeAccount.go index 679287e0..303cdc31 100644 --- a/programs/token/FreezeAccount.go +++ b/programs/token/FreezeAccount.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ( diff --git a/programs/token/FreezeAccount_test.go b/programs/token/FreezeAccount_test.go index 3aae0e50..b629dfde 100644 --- a/programs/token/FreezeAccount_test.go +++ b/programs/token/FreezeAccount_test.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ( diff --git a/programs/token/InitializeAccount.go b/programs/token/InitializeAccount.go index 24706b0f..eb87cc2b 100644 --- a/programs/token/InitializeAccount.go +++ b/programs/token/InitializeAccount.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ( diff --git a/programs/token/InitializeAccount2.go b/programs/token/InitializeAccount2.go index 0b7ecbc7..a010027d 100644 --- a/programs/token/InitializeAccount2.go +++ b/programs/token/InitializeAccount2.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ( diff --git a/programs/token/InitializeAccount2_test.go b/programs/token/InitializeAccount2_test.go index 4b132e9d..b8df6678 100644 --- a/programs/token/InitializeAccount2_test.go +++ b/programs/token/InitializeAccount2_test.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ( diff --git a/programs/token/InitializeAccount3.go b/programs/token/InitializeAccount3.go index b7e8d1d6..4b68e4fb 100644 --- a/programs/token/InitializeAccount3.go +++ b/programs/token/InitializeAccount3.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ( diff --git a/programs/token/InitializeAccount3_test.go b/programs/token/InitializeAccount3_test.go index 443fc879..a1597259 100644 --- a/programs/token/InitializeAccount3_test.go +++ b/programs/token/InitializeAccount3_test.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ( diff --git a/programs/token/InitializeAccount_test.go b/programs/token/InitializeAccount_test.go index 01b41201..40105391 100644 --- a/programs/token/InitializeAccount_test.go +++ b/programs/token/InitializeAccount_test.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ( diff --git a/programs/token/InitializeMint.go b/programs/token/InitializeMint.go index f9c08148..a3e0dba1 100644 --- a/programs/token/InitializeMint.go +++ b/programs/token/InitializeMint.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ( diff --git a/programs/token/InitializeMint2.go b/programs/token/InitializeMint2.go index c85772bd..238e606f 100644 --- a/programs/token/InitializeMint2.go +++ b/programs/token/InitializeMint2.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ( diff --git a/programs/token/InitializeMint2_test.go b/programs/token/InitializeMint2_test.go index eb617f26..1f06b423 100644 --- a/programs/token/InitializeMint2_test.go +++ b/programs/token/InitializeMint2_test.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ( diff --git a/programs/token/InitializeMint_test.go b/programs/token/InitializeMint_test.go index 4a5b096d..756c0af7 100644 --- a/programs/token/InitializeMint_test.go +++ b/programs/token/InitializeMint_test.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ( diff --git a/programs/token/InitializeMultisig.go b/programs/token/InitializeMultisig.go index 9938d81f..d4042cb6 100644 --- a/programs/token/InitializeMultisig.go +++ b/programs/token/InitializeMultisig.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ( diff --git a/programs/token/InitializeMultisig2.go b/programs/token/InitializeMultisig2.go index 670e1bc3..6165849c 100644 --- a/programs/token/InitializeMultisig2.go +++ b/programs/token/InitializeMultisig2.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ( diff --git a/programs/token/InitializeMultisig2_test.go b/programs/token/InitializeMultisig2_test.go index 78896de8..79979fc2 100644 --- a/programs/token/InitializeMultisig2_test.go +++ b/programs/token/InitializeMultisig2_test.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ( diff --git a/programs/token/InitializeMultisig_test.go b/programs/token/InitializeMultisig_test.go index 93dd5512..7cad9088 100644 --- a/programs/token/InitializeMultisig_test.go +++ b/programs/token/InitializeMultisig_test.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ( diff --git a/programs/token/MintTo.go b/programs/token/MintTo.go index 8ec023b0..d008bc15 100644 --- a/programs/token/MintTo.go +++ b/programs/token/MintTo.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ( diff --git a/programs/token/MintToChecked.go b/programs/token/MintToChecked.go index 090cc890..6edafa4d 100644 --- a/programs/token/MintToChecked.go +++ b/programs/token/MintToChecked.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ( diff --git a/programs/token/MintToChecked_test.go b/programs/token/MintToChecked_test.go index 95b83da6..2997791d 100644 --- a/programs/token/MintToChecked_test.go +++ b/programs/token/MintToChecked_test.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ( diff --git a/programs/token/MintTo_test.go b/programs/token/MintTo_test.go index 1afe5711..d3118fdd 100644 --- a/programs/token/MintTo_test.go +++ b/programs/token/MintTo_test.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ( diff --git a/programs/token/Revoke.go b/programs/token/Revoke.go index 5067fa9b..6c17c87a 100644 --- a/programs/token/Revoke.go +++ b/programs/token/Revoke.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ( diff --git a/programs/token/Revoke_test.go b/programs/token/Revoke_test.go index 680138c7..64f5c77a 100644 --- a/programs/token/Revoke_test.go +++ b/programs/token/Revoke_test.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ( diff --git a/programs/token/SetAuthority.go b/programs/token/SetAuthority.go index 5fc7eed1..bfb4c8b5 100644 --- a/programs/token/SetAuthority.go +++ b/programs/token/SetAuthority.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ( diff --git a/programs/token/SetAuthority_test.go b/programs/token/SetAuthority_test.go index b4ec4006..9419b7e5 100644 --- a/programs/token/SetAuthority_test.go +++ b/programs/token/SetAuthority_test.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ( diff --git a/programs/token/SyncNative.go b/programs/token/SyncNative.go index b753e740..41605eb2 100644 --- a/programs/token/SyncNative.go +++ b/programs/token/SyncNative.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ( diff --git a/programs/token/SyncNative_test.go b/programs/token/SyncNative_test.go index b3238aca..51383d36 100644 --- a/programs/token/SyncNative_test.go +++ b/programs/token/SyncNative_test.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ( diff --git a/programs/token/ThawAccount.go b/programs/token/ThawAccount.go index 90aaf081..ffe09c08 100644 --- a/programs/token/ThawAccount.go +++ b/programs/token/ThawAccount.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ( diff --git a/programs/token/ThawAccount_test.go b/programs/token/ThawAccount_test.go index 338074f8..db58291b 100644 --- a/programs/token/ThawAccount_test.go +++ b/programs/token/ThawAccount_test.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ( diff --git a/programs/token/Transfer.go b/programs/token/Transfer.go index 6104c0eb..e68d3fe8 100644 --- a/programs/token/Transfer.go +++ b/programs/token/Transfer.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ( diff --git a/programs/token/TransferChecked.go b/programs/token/TransferChecked.go index 7cbd533a..3f30aba3 100644 --- a/programs/token/TransferChecked.go +++ b/programs/token/TransferChecked.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ( diff --git a/programs/token/TransferChecked_test.go b/programs/token/TransferChecked_test.go index 393464b7..d42e6153 100644 --- a/programs/token/TransferChecked_test.go +++ b/programs/token/TransferChecked_test.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ( diff --git a/programs/token/Transfer_test.go b/programs/token/Transfer_test.go index 2ab64bdd..4111d262 100644 --- a/programs/token/Transfer_test.go +++ b/programs/token/Transfer_test.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ( diff --git a/programs/token/accounts.go b/programs/token/accounts.go index 7265b780..d432556c 100644 --- a/programs/token/accounts.go +++ b/programs/token/accounts.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ag_solanago "github.com/gagliardetto/solana-go" diff --git a/programs/token/instructions.go b/programs/token/instructions.go index a7b13372..a3a80631 100644 --- a/programs/token/instructions.go +++ b/programs/token/instructions.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + // A Token program on the Solana blockchain. // This program defines a common implementation for Fungible and Non Fungible tokens. diff --git a/programs/token/json.go b/programs/token/json.go index 6156523d..15bff124 100644 --- a/programs/token/json.go +++ b/programs/token/json.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ( diff --git a/programs/token/testing_utils.go b/programs/token/testing_utils.go index 20ddafd1..4b935a87 100644 --- a/programs/token/testing_utils.go +++ b/programs/token/testing_utils.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ( diff --git a/programs/token/types.go b/programs/token/types.go index def5ca0f..3fcdc0fe 100644 --- a/programs/token/types.go +++ b/programs/token/types.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package token import ( diff --git a/programs/tokenregistry/instruction.go b/programs/tokenregistry/instruction.go index 82146647..a360f432 100644 --- a/programs/tokenregistry/instruction.go +++ b/programs/tokenregistry/instruction.go @@ -1,3 +1,20 @@ +// Copyright 2021 github.com/gagliardetto +// This file has been modified by github.com/gagliardetto +// +// Copyright 2020 dfuse Platform Inc. +// +// Licensed 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. + package tokenregistry import ( diff --git a/programs/tokenregistry/program.go b/programs/tokenregistry/program.go index ec5e6ff2..106fe15d 100644 --- a/programs/tokenregistry/program.go +++ b/programs/tokenregistry/program.go @@ -1,3 +1,20 @@ +// Copyright 2021 github.com/gagliardetto +// This file has been modified by github.com/gagliardetto +// +// Copyright 2020 dfuse Platform Inc. +// +// Licensed 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. + package tokenregistry import ( diff --git a/programs/tokenregistry/rpc.go b/programs/tokenregistry/rpc.go index 9a2e2c44..7d96c6fd 100644 --- a/programs/tokenregistry/rpc.go +++ b/programs/tokenregistry/rpc.go @@ -1,3 +1,20 @@ +// Copyright 2021 github.com/gagliardetto +// This file has been modified by github.com/gagliardetto +// +// Copyright 2020 dfuse Platform Inc. +// +// Licensed 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. + package tokenregistry import ( diff --git a/programs/tokenregistry/types_test.go b/programs/tokenregistry/types_test.go index 7a9c3337..86c64d04 100644 --- a/programs/tokenregistry/types_test.go +++ b/programs/tokenregistry/types_test.go @@ -1,3 +1,20 @@ +// Copyright 2021 github.com/gagliardetto +// This file has been modified by github.com/gagliardetto +// +// Copyright 2020 dfuse Platform Inc. +// +// Licensed 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. + package tokenregistry import ( diff --git a/registry.go b/registry.go index a3a0ae8b..fe86b3f0 100644 --- a/registry.go +++ b/registry.go @@ -1,3 +1,20 @@ +// Copyright 2021 github.com/gagliardetto +// This file has been modified by github.com/gagliardetto +// +// Copyright 2020 dfuse Platform Inc. +// +// Licensed 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. + package solana import ( diff --git a/rpc/endpoints.go b/rpc/endpoints.go index 2a387e05..643d2894 100644 --- a/rpc/endpoints.go +++ b/rpc/endpoints.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc // See more: https://docs.solana.com/cluster/rpc-endpoints diff --git a/rpc/errors.go b/rpc/errors.go index 8b3d11fd..f35847bb 100644 --- a/rpc/errors.go +++ b/rpc/errors.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc // rpc error: diff --git a/rpc/examples/getAccountInfo/getAccountInfo.go b/rpc/examples/getAccountInfo/getAccountInfo.go index c0b83648..52c8e597 100644 --- a/rpc/examples/getAccountInfo/getAccountInfo.go +++ b/rpc/examples/getAccountInfo/getAccountInfo.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getBalance/getBalance.go b/rpc/examples/getBalance/getBalance.go index 8a6b21f3..942a6e7e 100644 --- a/rpc/examples/getBalance/getBalance.go +++ b/rpc/examples/getBalance/getBalance.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getBlock/getBlock.go b/rpc/examples/getBlock/getBlock.go index 913f15eb..f45e925c 100644 --- a/rpc/examples/getBlock/getBlock.go +++ b/rpc/examples/getBlock/getBlock.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getBlockCommitment/getBlockCommitment.go b/rpc/examples/getBlockCommitment/getBlockCommitment.go index fb0ff52a..3ad3ee0b 100644 --- a/rpc/examples/getBlockCommitment/getBlockCommitment.go +++ b/rpc/examples/getBlockCommitment/getBlockCommitment.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getBlockHeight/getBlockHeight.go b/rpc/examples/getBlockHeight/getBlockHeight.go index c753acf1..60223159 100644 --- a/rpc/examples/getBlockHeight/getBlockHeight.go +++ b/rpc/examples/getBlockHeight/getBlockHeight.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getBlockProduction/getBlockProduction.go b/rpc/examples/getBlockProduction/getBlockProduction.go index 735627d4..e4398b1a 100644 --- a/rpc/examples/getBlockProduction/getBlockProduction.go +++ b/rpc/examples/getBlockProduction/getBlockProduction.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getBlockTime/getBlockTime.go b/rpc/examples/getBlockTime/getBlockTime.go index fb3df644..457b23b5 100644 --- a/rpc/examples/getBlockTime/getBlockTime.go +++ b/rpc/examples/getBlockTime/getBlockTime.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getBlocks/getBlocks.go b/rpc/examples/getBlocks/getBlocks.go index 6b0a997a..bf97ac73 100644 --- a/rpc/examples/getBlocks/getBlocks.go +++ b/rpc/examples/getBlocks/getBlocks.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getBlocksWithLimit/getBlocksWithLimit.go b/rpc/examples/getBlocksWithLimit/getBlocksWithLimit.go index b52687aa..c0128dd1 100644 --- a/rpc/examples/getBlocksWithLimit/getBlocksWithLimit.go +++ b/rpc/examples/getBlocksWithLimit/getBlocksWithLimit.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getClusterNodes/getClusterNodes.go b/rpc/examples/getClusterNodes/getClusterNodes.go index 7e1d8fdc..fb868767 100644 --- a/rpc/examples/getClusterNodes/getClusterNodes.go +++ b/rpc/examples/getClusterNodes/getClusterNodes.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getConfirmedBlock/getConfirmedBlock.go b/rpc/examples/getConfirmedBlock/getConfirmedBlock.go index 01f907cb..45cb0da0 100644 --- a/rpc/examples/getConfirmedBlock/getConfirmedBlock.go +++ b/rpc/examples/getConfirmedBlock/getConfirmedBlock.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getConfirmedBlocks/getConfirmedBlocks.go b/rpc/examples/getConfirmedBlocks/getConfirmedBlocks.go index a9d834a9..d46832b6 100644 --- a/rpc/examples/getConfirmedBlocks/getConfirmedBlocks.go +++ b/rpc/examples/getConfirmedBlocks/getConfirmedBlocks.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getConfirmedBlocksWithLimit/getConfirmedBlocksWithLimit.go b/rpc/examples/getConfirmedBlocksWithLimit/getConfirmedBlocksWithLimit.go index 1cac8588..0a633aad 100644 --- a/rpc/examples/getConfirmedBlocksWithLimit/getConfirmedBlocksWithLimit.go +++ b/rpc/examples/getConfirmedBlocksWithLimit/getConfirmedBlocksWithLimit.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getConfirmedSignaturesForAddress2/getConfirmedSignaturesForAddress2.go b/rpc/examples/getConfirmedSignaturesForAddress2/getConfirmedSignaturesForAddress2.go index 3ad76bfa..8a00bd01 100644 --- a/rpc/examples/getConfirmedSignaturesForAddress2/getConfirmedSignaturesForAddress2.go +++ b/rpc/examples/getConfirmedSignaturesForAddress2/getConfirmedSignaturesForAddress2.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getConfirmedTransaction/getConfirmedTransaction.go b/rpc/examples/getConfirmedTransaction/getConfirmedTransaction.go index d19a5fe9..6a46e4b8 100644 --- a/rpc/examples/getConfirmedTransaction/getConfirmedTransaction.go +++ b/rpc/examples/getConfirmedTransaction/getConfirmedTransaction.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getEpochInfo/getEpochInfo.go b/rpc/examples/getEpochInfo/getEpochInfo.go index b149e831..420c6823 100644 --- a/rpc/examples/getEpochInfo/getEpochInfo.go +++ b/rpc/examples/getEpochInfo/getEpochInfo.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getEpochSchedule/getEpochSchedule.go b/rpc/examples/getEpochSchedule/getEpochSchedule.go index 7efe071c..b5023cb3 100644 --- a/rpc/examples/getEpochSchedule/getEpochSchedule.go +++ b/rpc/examples/getEpochSchedule/getEpochSchedule.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getFeeCalculatorForBlockhash/getFeeCalculatorForBlockhash.go b/rpc/examples/getFeeCalculatorForBlockhash/getFeeCalculatorForBlockhash.go index ec0199ee..bb58a00d 100644 --- a/rpc/examples/getFeeCalculatorForBlockhash/getFeeCalculatorForBlockhash.go +++ b/rpc/examples/getFeeCalculatorForBlockhash/getFeeCalculatorForBlockhash.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getFeeRateGovernor/getFeeRateGovernor.go b/rpc/examples/getFeeRateGovernor/getFeeRateGovernor.go index fe1146c1..fd79b808 100644 --- a/rpc/examples/getFeeRateGovernor/getFeeRateGovernor.go +++ b/rpc/examples/getFeeRateGovernor/getFeeRateGovernor.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getFees/getFees.go b/rpc/examples/getFees/getFees.go index 688882a3..f29f2ced 100644 --- a/rpc/examples/getFees/getFees.go +++ b/rpc/examples/getFees/getFees.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getFirstAvailableBlock/getFirstAvailableBlock.go b/rpc/examples/getFirstAvailableBlock/getFirstAvailableBlock.go index 200c0a7b..c4ba5101 100644 --- a/rpc/examples/getFirstAvailableBlock/getFirstAvailableBlock.go +++ b/rpc/examples/getFirstAvailableBlock/getFirstAvailableBlock.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getGenesisHash/getGenesisHash.go b/rpc/examples/getGenesisHash/getGenesisHash.go index eefee9a5..3498fc95 100644 --- a/rpc/examples/getGenesisHash/getGenesisHash.go +++ b/rpc/examples/getGenesisHash/getGenesisHash.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getHealth/getHealth.go b/rpc/examples/getHealth/getHealth.go index 989c72dc..5d38b2aa 100644 --- a/rpc/examples/getHealth/getHealth.go +++ b/rpc/examples/getHealth/getHealth.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getIdentity/getIdentity.go b/rpc/examples/getIdentity/getIdentity.go index ffe1960a..d737d38f 100644 --- a/rpc/examples/getIdentity/getIdentity.go +++ b/rpc/examples/getIdentity/getIdentity.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getInflationGovernor/getInflationGovernor.go b/rpc/examples/getInflationGovernor/getInflationGovernor.go index ec159247..e7ff2885 100644 --- a/rpc/examples/getInflationGovernor/getInflationGovernor.go +++ b/rpc/examples/getInflationGovernor/getInflationGovernor.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getInflationRate/getInflationRate.go b/rpc/examples/getInflationRate/getInflationRate.go index edfedbd6..f6c64488 100644 --- a/rpc/examples/getInflationRate/getInflationRate.go +++ b/rpc/examples/getInflationRate/getInflationRate.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getInflationReward/getInflationReward.go b/rpc/examples/getInflationReward/getInflationReward.go index 98630355..45acee48 100644 --- a/rpc/examples/getInflationReward/getInflationReward.go +++ b/rpc/examples/getInflationReward/getInflationReward.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getLargestAccounts/getLargestAccounts.go b/rpc/examples/getLargestAccounts/getLargestAccounts.go index 631accc2..88aefa17 100644 --- a/rpc/examples/getLargestAccounts/getLargestAccounts.go +++ b/rpc/examples/getLargestAccounts/getLargestAccounts.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getLeaderSchedule/getLeaderSchedule.go b/rpc/examples/getLeaderSchedule/getLeaderSchedule.go index 547d501d..b785058d 100644 --- a/rpc/examples/getLeaderSchedule/getLeaderSchedule.go +++ b/rpc/examples/getLeaderSchedule/getLeaderSchedule.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getMaxRetransmitSlot/getMaxRetransmitSlot.go b/rpc/examples/getMaxRetransmitSlot/getMaxRetransmitSlot.go index 37a77ae2..2e11de87 100644 --- a/rpc/examples/getMaxRetransmitSlot/getMaxRetransmitSlot.go +++ b/rpc/examples/getMaxRetransmitSlot/getMaxRetransmitSlot.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getMaxShredInsertSlot/getMaxShredInsertSlot.go b/rpc/examples/getMaxShredInsertSlot/getMaxShredInsertSlot.go index b3efa5ba..deedf5b2 100644 --- a/rpc/examples/getMaxShredInsertSlot/getMaxShredInsertSlot.go +++ b/rpc/examples/getMaxShredInsertSlot/getMaxShredInsertSlot.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getMinimumBalanceForRentExemption/getMinimumBalanceForRentExemption.go b/rpc/examples/getMinimumBalanceForRentExemption/getMinimumBalanceForRentExemption.go index 61ca2d2d..0902ba8a 100644 --- a/rpc/examples/getMinimumBalanceForRentExemption/getMinimumBalanceForRentExemption.go +++ b/rpc/examples/getMinimumBalanceForRentExemption/getMinimumBalanceForRentExemption.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getMultipleAccounts/getMultipleAccounts.go b/rpc/examples/getMultipleAccounts/getMultipleAccounts.go index 11daa4e7..6b06670f 100644 --- a/rpc/examples/getMultipleAccounts/getMultipleAccounts.go +++ b/rpc/examples/getMultipleAccounts/getMultipleAccounts.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getProgramAccounts/getProgramAccounts.go b/rpc/examples/getProgramAccounts/getProgramAccounts.go index 15f11db3..654a8b13 100644 --- a/rpc/examples/getProgramAccounts/getProgramAccounts.go +++ b/rpc/examples/getProgramAccounts/getProgramAccounts.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getRecentBlockhash/getRecentBlockhash.go b/rpc/examples/getRecentBlockhash/getRecentBlockhash.go index 56da9a6e..27ebc0bb 100644 --- a/rpc/examples/getRecentBlockhash/getRecentBlockhash.go +++ b/rpc/examples/getRecentBlockhash/getRecentBlockhash.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getRecentPerformanceSamples/getRecentPerformanceSamples.go b/rpc/examples/getRecentPerformanceSamples/getRecentPerformanceSamples.go index a128807f..c2a5602f 100644 --- a/rpc/examples/getRecentPerformanceSamples/getRecentPerformanceSamples.go +++ b/rpc/examples/getRecentPerformanceSamples/getRecentPerformanceSamples.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getSignatureStatuses/getSignatureStatuses.go b/rpc/examples/getSignatureStatuses/getSignatureStatuses.go index 2f113c65..b246c240 100644 --- a/rpc/examples/getSignatureStatuses/getSignatureStatuses.go +++ b/rpc/examples/getSignatureStatuses/getSignatureStatuses.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getSignaturesForAddress/getSignaturesForAddress.go b/rpc/examples/getSignaturesForAddress/getSignaturesForAddress.go index b69d4f98..1c595ff9 100644 --- a/rpc/examples/getSignaturesForAddress/getSignaturesForAddress.go +++ b/rpc/examples/getSignaturesForAddress/getSignaturesForAddress.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getSlot/getSlot.go b/rpc/examples/getSlot/getSlot.go index 4ac4398b..19da573a 100644 --- a/rpc/examples/getSlot/getSlot.go +++ b/rpc/examples/getSlot/getSlot.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getSlotLeader/getSlotLeader.go b/rpc/examples/getSlotLeader/getSlotLeader.go index 080254fc..0557cc30 100644 --- a/rpc/examples/getSlotLeader/getSlotLeader.go +++ b/rpc/examples/getSlotLeader/getSlotLeader.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getSlotLeaders/getSlotLeaders.go b/rpc/examples/getSlotLeaders/getSlotLeaders.go index 27b4bde9..5fda7679 100644 --- a/rpc/examples/getSlotLeaders/getSlotLeaders.go +++ b/rpc/examples/getSlotLeaders/getSlotLeaders.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getSnapshotSlot/getSnapshotSlot.go b/rpc/examples/getSnapshotSlot/getSnapshotSlot.go index 9ff96c56..a555665f 100644 --- a/rpc/examples/getSnapshotSlot/getSnapshotSlot.go +++ b/rpc/examples/getSnapshotSlot/getSnapshotSlot.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getStakeActivation/getStakeActivation.go b/rpc/examples/getStakeActivation/getStakeActivation.go index e9e87fd3..28a41ad1 100644 --- a/rpc/examples/getStakeActivation/getStakeActivation.go +++ b/rpc/examples/getStakeActivation/getStakeActivation.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getSupply/getSupply.go b/rpc/examples/getSupply/getSupply.go index ef0c1754..3410b4db 100644 --- a/rpc/examples/getSupply/getSupply.go +++ b/rpc/examples/getSupply/getSupply.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getTokenAccountBalance/getTokenAccountBalance.go b/rpc/examples/getTokenAccountBalance/getTokenAccountBalance.go index 71992ee3..c621d73d 100644 --- a/rpc/examples/getTokenAccountBalance/getTokenAccountBalance.go +++ b/rpc/examples/getTokenAccountBalance/getTokenAccountBalance.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getTokenAccountsByDelegate/getTokenAccountsByDelegate.go b/rpc/examples/getTokenAccountsByDelegate/getTokenAccountsByDelegate.go index b30169e3..7eabe5a6 100644 --- a/rpc/examples/getTokenAccountsByDelegate/getTokenAccountsByDelegate.go +++ b/rpc/examples/getTokenAccountsByDelegate/getTokenAccountsByDelegate.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getTokenAccountsByOwner/getTokenAccountsByOwner.go b/rpc/examples/getTokenAccountsByOwner/getTokenAccountsByOwner.go index 318f9a33..d621d68a 100644 --- a/rpc/examples/getTokenAccountsByOwner/getTokenAccountsByOwner.go +++ b/rpc/examples/getTokenAccountsByOwner/getTokenAccountsByOwner.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getTokenLargestAccounts/getTokenLargestAccounts.go b/rpc/examples/getTokenLargestAccounts/getTokenLargestAccounts.go index 045dce0f..a9033886 100644 --- a/rpc/examples/getTokenLargestAccounts/getTokenLargestAccounts.go +++ b/rpc/examples/getTokenLargestAccounts/getTokenLargestAccounts.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getTokenSupply/getTokenSupply.go b/rpc/examples/getTokenSupply/getTokenSupply.go index 26b36847..8e9831f2 100644 --- a/rpc/examples/getTokenSupply/getTokenSupply.go +++ b/rpc/examples/getTokenSupply/getTokenSupply.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getTransaction/getTransaction.go b/rpc/examples/getTransaction/getTransaction.go index 561a9f6b..a4e88e5d 100644 --- a/rpc/examples/getTransaction/getTransaction.go +++ b/rpc/examples/getTransaction/getTransaction.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getTransactionCount/getTransactionCount.go b/rpc/examples/getTransactionCount/getTransactionCount.go index bbbf6337..43d5b0e8 100644 --- a/rpc/examples/getTransactionCount/getTransactionCount.go +++ b/rpc/examples/getTransactionCount/getTransactionCount.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getVersion/getVersion.go b/rpc/examples/getVersion/getVersion.go index 392e8ea2..668f43d2 100644 --- a/rpc/examples/getVersion/getVersion.go +++ b/rpc/examples/getVersion/getVersion.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/getVoteAccounts/getVoteAccounts.go b/rpc/examples/getVoteAccounts/getVoteAccounts.go index a984e8f2..42d5b08e 100644 --- a/rpc/examples/getVoteAccounts/getVoteAccounts.go +++ b/rpc/examples/getVoteAccounts/getVoteAccounts.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/minimumLedgerSlot/minimumLedgerSlot.go b/rpc/examples/minimumLedgerSlot/minimumLedgerSlot.go index 4ca394d6..f9e24d3f 100644 --- a/rpc/examples/minimumLedgerSlot/minimumLedgerSlot.go +++ b/rpc/examples/minimumLedgerSlot/minimumLedgerSlot.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/requestAirdrop/requestAirdrop.go b/rpc/examples/requestAirdrop/requestAirdrop.go index 491157b5..c9e923f9 100644 --- a/rpc/examples/requestAirdrop/requestAirdrop.go +++ b/rpc/examples/requestAirdrop/requestAirdrop.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/examples/sendTransaction/sendTransaction.go b/rpc/examples/sendTransaction/sendTransaction.go index 79058077..20302584 100644 --- a/rpc/examples/sendTransaction/sendTransaction.go +++ b/rpc/examples/sendTransaction/sendTransaction.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main func main() { diff --git a/rpc/examples/simulateTransaction/simulateTransaction.go b/rpc/examples/simulateTransaction/simulateTransaction.go index 79058077..20302584 100644 --- a/rpc/examples/simulateTransaction/simulateTransaction.go +++ b/rpc/examples/simulateTransaction/simulateTransaction.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main func main() { diff --git a/rpc/getBlock.go b/rpc/getBlock.go index 9413df9d..f91949e0 100644 --- a/rpc/getBlock.go +++ b/rpc/getBlock.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc import ( diff --git a/rpc/getBlockCommitment.go b/rpc/getBlockCommitment.go index ced00745..d096b1bc 100644 --- a/rpc/getBlockCommitment.go +++ b/rpc/getBlockCommitment.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc import ( diff --git a/rpc/getBlockHeight.go b/rpc/getBlockHeight.go index b9f7c47a..0c9a7163 100644 --- a/rpc/getBlockHeight.go +++ b/rpc/getBlockHeight.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc import ( diff --git a/rpc/getBlockProduction.go b/rpc/getBlockProduction.go index 77402e7d..08b62543 100644 --- a/rpc/getBlockProduction.go +++ b/rpc/getBlockProduction.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc import ( diff --git a/rpc/getBlockTime.go b/rpc/getBlockTime.go index a461e0c5..9076e155 100644 --- a/rpc/getBlockTime.go +++ b/rpc/getBlockTime.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc import ( diff --git a/rpc/getBlocks.go b/rpc/getBlocks.go index 89b7335e..fbab9623 100644 --- a/rpc/getBlocks.go +++ b/rpc/getBlocks.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc import ( diff --git a/rpc/getBlocksWithLimit.go b/rpc/getBlocksWithLimit.go index a4a6a58a..7da8061a 100644 --- a/rpc/getBlocksWithLimit.go +++ b/rpc/getBlocksWithLimit.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc import ( diff --git a/rpc/getClusterNodes.go b/rpc/getClusterNodes.go index c67a9e78..99a75aa3 100644 --- a/rpc/getClusterNodes.go +++ b/rpc/getClusterNodes.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc import ( diff --git a/rpc/getEpochInfo.go b/rpc/getEpochInfo.go index ea1b1e18..ae7d0414 100644 --- a/rpc/getEpochInfo.go +++ b/rpc/getEpochInfo.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc import ( diff --git a/rpc/getEpochSchedule.go b/rpc/getEpochSchedule.go index 3ff73db1..25726a6a 100644 --- a/rpc/getEpochSchedule.go +++ b/rpc/getEpochSchedule.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc import ( diff --git a/rpc/getFeeCalculatorForBlockhash.go b/rpc/getFeeCalculatorForBlockhash.go index c2892a72..351bcdae 100644 --- a/rpc/getFeeCalculatorForBlockhash.go +++ b/rpc/getFeeCalculatorForBlockhash.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc import ( diff --git a/rpc/getFeeRateGovernor.go b/rpc/getFeeRateGovernor.go index 70e9b3fc..059d07c8 100644 --- a/rpc/getFeeRateGovernor.go +++ b/rpc/getFeeRateGovernor.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc import ( diff --git a/rpc/getFees.go b/rpc/getFees.go index 16bfaa92..779af8b9 100644 --- a/rpc/getFees.go +++ b/rpc/getFees.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc import ( diff --git a/rpc/getFirstAvailableBlock.go b/rpc/getFirstAvailableBlock.go index 49f9c2bf..357a2676 100644 --- a/rpc/getFirstAvailableBlock.go +++ b/rpc/getFirstAvailableBlock.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc import ( diff --git a/rpc/getGenesisHash.go b/rpc/getGenesisHash.go index c120bbbc..4ca42cc3 100644 --- a/rpc/getGenesisHash.go +++ b/rpc/getGenesisHash.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc import ( diff --git a/rpc/getHealth.go b/rpc/getHealth.go index 17083033..b7bd9a73 100644 --- a/rpc/getHealth.go +++ b/rpc/getHealth.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc import ( diff --git a/rpc/getIdentity.go b/rpc/getIdentity.go index fa3df6d5..00bd7006 100644 --- a/rpc/getIdentity.go +++ b/rpc/getIdentity.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc import ( diff --git a/rpc/getInflationGovernor.go b/rpc/getInflationGovernor.go index d2833cbb..16df2be1 100644 --- a/rpc/getInflationGovernor.go +++ b/rpc/getInflationGovernor.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc import ( diff --git a/rpc/getInflationRate.go b/rpc/getInflationRate.go index 9c1ad9d9..3513b130 100644 --- a/rpc/getInflationRate.go +++ b/rpc/getInflationRate.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc import ( diff --git a/rpc/getInflationReward.go b/rpc/getInflationReward.go index c13021ca..1a767ad5 100644 --- a/rpc/getInflationReward.go +++ b/rpc/getInflationReward.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc import ( diff --git a/rpc/getLargestAccounts.go b/rpc/getLargestAccounts.go index 2f37beb4..544e5295 100644 --- a/rpc/getLargestAccounts.go +++ b/rpc/getLargestAccounts.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc import ( diff --git a/rpc/getLeaderSchedule.go b/rpc/getLeaderSchedule.go index 1a481803..018f7083 100644 --- a/rpc/getLeaderSchedule.go +++ b/rpc/getLeaderSchedule.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc import ( diff --git a/rpc/getMaxRetransmitSlot.go b/rpc/getMaxRetransmitSlot.go index fc5be713..d390ad01 100644 --- a/rpc/getMaxRetransmitSlot.go +++ b/rpc/getMaxRetransmitSlot.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc import ( diff --git a/rpc/getMaxShredInsertSlot.go b/rpc/getMaxShredInsertSlot.go index 2bb16597..6f249550 100644 --- a/rpc/getMaxShredInsertSlot.go +++ b/rpc/getMaxShredInsertSlot.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc import ( diff --git a/rpc/getMultipleAccounts.go b/rpc/getMultipleAccounts.go index 7567a3b9..af316cf9 100644 --- a/rpc/getMultipleAccounts.go +++ b/rpc/getMultipleAccounts.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc import ( diff --git a/rpc/getRecentPerformanceSamples.go b/rpc/getRecentPerformanceSamples.go index 80f7761a..7ae3fde0 100644 --- a/rpc/getRecentPerformanceSamples.go +++ b/rpc/getRecentPerformanceSamples.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc import ( diff --git a/rpc/getSignatureStatuses.go b/rpc/getSignatureStatuses.go index 206d3cef..48cc8c18 100644 --- a/rpc/getSignatureStatuses.go +++ b/rpc/getSignatureStatuses.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc import ( diff --git a/rpc/getSignaturesForAddress.go b/rpc/getSignaturesForAddress.go index 5bfe421a..2b55d007 100644 --- a/rpc/getSignaturesForAddress.go +++ b/rpc/getSignaturesForAddress.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc import ( diff --git a/rpc/getSlotLeader.go b/rpc/getSlotLeader.go index 16a9891d..859a153f 100644 --- a/rpc/getSlotLeader.go +++ b/rpc/getSlotLeader.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc import ( diff --git a/rpc/getSlotLeaders.go b/rpc/getSlotLeaders.go index f09109ea..3b52fbad 100644 --- a/rpc/getSlotLeaders.go +++ b/rpc/getSlotLeaders.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc import ( diff --git a/rpc/getSnapshotSlot.go b/rpc/getSnapshotSlot.go index f2062efe..c1b13b9a 100644 --- a/rpc/getSnapshotSlot.go +++ b/rpc/getSnapshotSlot.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc import ( diff --git a/rpc/getStakeActivation.go b/rpc/getStakeActivation.go index 2d15776f..52cb5969 100644 --- a/rpc/getStakeActivation.go +++ b/rpc/getStakeActivation.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc import ( diff --git a/rpc/getSupply.go b/rpc/getSupply.go index c4606fbd..bab02935 100644 --- a/rpc/getSupply.go +++ b/rpc/getSupply.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc import ( diff --git a/rpc/getTokenAccountBalance.go b/rpc/getTokenAccountBalance.go index bcf0d74c..6e573384 100644 --- a/rpc/getTokenAccountBalance.go +++ b/rpc/getTokenAccountBalance.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc import ( diff --git a/rpc/getTokenAccountsByDelegate.go b/rpc/getTokenAccountsByDelegate.go index 2de5484e..30f55f15 100644 --- a/rpc/getTokenAccountsByDelegate.go +++ b/rpc/getTokenAccountsByDelegate.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc import ( diff --git a/rpc/getTokenAccountsByOwner.go b/rpc/getTokenAccountsByOwner.go index a851b3fa..68513b5e 100644 --- a/rpc/getTokenAccountsByOwner.go +++ b/rpc/getTokenAccountsByOwner.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc import ( diff --git a/rpc/getTokenLargestAccounts.go b/rpc/getTokenLargestAccounts.go index 5c386f1b..aeddfe14 100644 --- a/rpc/getTokenLargestAccounts.go +++ b/rpc/getTokenLargestAccounts.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc import ( diff --git a/rpc/getTokenSupply.go b/rpc/getTokenSupply.go index 1eb56d7d..e3e5794e 100644 --- a/rpc/getTokenSupply.go +++ b/rpc/getTokenSupply.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc import ( diff --git a/rpc/getTransaction.go b/rpc/getTransaction.go index 2c240147..726dd70a 100644 --- a/rpc/getTransaction.go +++ b/rpc/getTransaction.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc import ( diff --git a/rpc/getTransactionCount.go b/rpc/getTransactionCount.go index 0e28b481..4383f48b 100644 --- a/rpc/getTransactionCount.go +++ b/rpc/getTransactionCount.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc import ( diff --git a/rpc/getVersion.go b/rpc/getVersion.go index e0dc7f35..83b0de4e 100644 --- a/rpc/getVersion.go +++ b/rpc/getVersion.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc import ( diff --git a/rpc/getVoteAccounts.go b/rpc/getVoteAccounts.go index 733738cf..b049d984 100644 --- a/rpc/getVoteAccounts.go +++ b/rpc/getVoteAccounts.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc import ( diff --git a/rpc/json.go b/rpc/json.go index ed4c3262..8930cdb2 100644 --- a/rpc/json.go +++ b/rpc/json.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc import ( diff --git a/rpc/minimumLedgerSlot.go b/rpc/minimumLedgerSlot.go index 26c333d1..13c69743 100644 --- a/rpc/minimumLedgerSlot.go +++ b/rpc/minimumLedgerSlot.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc import ( diff --git a/rpc/rpc_test.go b/rpc/rpc_test.go index 53d06ba6..39b0a9d3 100644 --- a/rpc/rpc_test.go +++ b/rpc/rpc_test.go @@ -1,3 +1,20 @@ +// Copyright 2021 github.com/gagliardetto +// This file has been modified by github.com/gagliardetto +// +// Copyright 2020 dfuse Platform Inc. +// +// Licensed 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. + package rpc import ( diff --git a/rpc/sendAndConfirmTransaction/sendAndConfirmTransaction.go b/rpc/sendAndConfirmTransaction/sendAndConfirmTransaction.go index 06fd547b..1a018500 100644 --- a/rpc/sendAndConfirmTransaction/sendAndConfirmTransaction.go +++ b/rpc/sendAndConfirmTransaction/sendAndConfirmTransaction.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package sendandconfirmtransaction import ( diff --git a/rpc/types_test.go b/rpc/types_test.go index 9d7daca3..383ac4f5 100644 --- a/rpc/types_test.go +++ b/rpc/types_test.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package rpc import ( diff --git a/rpc/ws/accountSubscribe.go b/rpc/ws/accountSubscribe.go index 3ac19629..807efa1c 100644 --- a/rpc/ws/accountSubscribe.go +++ b/rpc/ws/accountSubscribe.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package ws import ( diff --git a/rpc/ws/examples/accountSubscribe/accountSubscribe.go b/rpc/ws/examples/accountSubscribe/accountSubscribe.go index 8770c186..24a21586 100644 --- a/rpc/ws/examples/accountSubscribe/accountSubscribe.go +++ b/rpc/ws/examples/accountSubscribe/accountSubscribe.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/ws/examples/logsSubscribe/logsSubscribe.go b/rpc/ws/examples/logsSubscribe/logsSubscribe.go index 95368f82..931996b0 100644 --- a/rpc/ws/examples/logsSubscribe/logsSubscribe.go +++ b/rpc/ws/examples/logsSubscribe/logsSubscribe.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/ws/examples/programSubscribe/programSubscribe.go b/rpc/ws/examples/programSubscribe/programSubscribe.go index 0fe4b68e..eda462be 100644 --- a/rpc/ws/examples/programSubscribe/programSubscribe.go +++ b/rpc/ws/examples/programSubscribe/programSubscribe.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/ws/examples/rootSubscribe/rootSubscribe.go b/rpc/ws/examples/rootSubscribe/rootSubscribe.go index c81af711..d11c6b27 100644 --- a/rpc/ws/examples/rootSubscribe/rootSubscribe.go +++ b/rpc/ws/examples/rootSubscribe/rootSubscribe.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/ws/examples/signatureSubscribe/signatureSubscribe.go b/rpc/ws/examples/signatureSubscribe/signatureSubscribe.go index 0410e575..59f247c3 100644 --- a/rpc/ws/examples/signatureSubscribe/signatureSubscribe.go +++ b/rpc/ws/examples/signatureSubscribe/signatureSubscribe.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/ws/examples/slotSubscribe/slotSubscribe.go b/rpc/ws/examples/slotSubscribe/slotSubscribe.go index ee86f6c9..91e06224 100644 --- a/rpc/ws/examples/slotSubscribe/slotSubscribe.go +++ b/rpc/ws/examples/slotSubscribe/slotSubscribe.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/ws/examples/voteSubscribe/voteSubscribe.go b/rpc/ws/examples/voteSubscribe/voteSubscribe.go index 0bc182ca..d218c4ad 100644 --- a/rpc/ws/examples/voteSubscribe/voteSubscribe.go +++ b/rpc/ws/examples/voteSubscribe/voteSubscribe.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package main import ( diff --git a/rpc/ws/json.go b/rpc/ws/json.go index da5541d5..ff1b39e1 100644 --- a/rpc/ws/json.go +++ b/rpc/ws/json.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package ws import ( diff --git a/rpc/ws/logsSubscribe.go b/rpc/ws/logsSubscribe.go index dcb29fcc..548a3ef2 100644 --- a/rpc/ws/logsSubscribe.go +++ b/rpc/ws/logsSubscribe.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package ws import ( diff --git a/rpc/ws/programSubscribe.go b/rpc/ws/programSubscribe.go index a675071f..8639395f 100644 --- a/rpc/ws/programSubscribe.go +++ b/rpc/ws/programSubscribe.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package ws import ( diff --git a/rpc/ws/rootSubscribe.go b/rpc/ws/rootSubscribe.go index 51109b6b..2d519dca 100644 --- a/rpc/ws/rootSubscribe.go +++ b/rpc/ws/rootSubscribe.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package ws type RootResult uint64 diff --git a/rpc/ws/signatureSubscribe.go b/rpc/ws/signatureSubscribe.go index 798ec7fa..6962c4c3 100644 --- a/rpc/ws/signatureSubscribe.go +++ b/rpc/ws/signatureSubscribe.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package ws import ( diff --git a/rpc/ws/slotSubscribe.go b/rpc/ws/slotSubscribe.go index c3198e9f..d79aed36 100644 --- a/rpc/ws/slotSubscribe.go +++ b/rpc/ws/slotSubscribe.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package ws type SlotResult struct { diff --git a/rpc/ws/slotsUpdatesSubscribe.go b/rpc/ws/slotsUpdatesSubscribe.go index ca9b04cb..11931b4f 100644 --- a/rpc/ws/slotsUpdatesSubscribe.go +++ b/rpc/ws/slotsUpdatesSubscribe.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package ws import "github.com/gagliardetto/solana-go" diff --git a/rpc/ws/subscription.go b/rpc/ws/subscription.go index 9fb34716..c1bebf6d 100644 --- a/rpc/ws/subscription.go +++ b/rpc/ws/subscription.go @@ -1,3 +1,20 @@ +// Copyright 2021 github.com/gagliardetto +// This file has been modified by github.com/gagliardetto +// +// Copyright 2020 dfuse Platform Inc. +// +// Licensed 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. + package ws type Subscription struct { diff --git a/rpc/ws/types.go b/rpc/ws/types.go index ea7d6ec8..22ac7725 100644 --- a/rpc/ws/types.go +++ b/rpc/ws/types.go @@ -1,3 +1,20 @@ +// Copyright 2021 github.com/gagliardetto +// This file has been modified by github.com/gagliardetto +// +// Copyright 2020 dfuse Platform Inc. +// +// Licensed 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. + package ws import ( diff --git a/rpc/ws/voteSubscribe.go b/rpc/ws/voteSubscribe.go index 2779868d..9fc526bc 100644 --- a/rpc/ws/voteSubscribe.go +++ b/rpc/ws/voteSubscribe.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package ws import ( diff --git a/sysvar.go b/sysvar.go index d8706958..99ebfe01 100644 --- a/sysvar.go +++ b/sysvar.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package solana // See more here: https://github.com/solana-labs/solana/blob/master/docs/src/developing/runtime-facilities/sysvars.md diff --git a/text/encoder.go b/text/encoder.go index 40813c3e..02627996 100644 --- a/text/encoder.go +++ b/text/encoder.go @@ -1,3 +1,17 @@ +// Copyright 2020 dfuse Platform Inc. +// +// Licensed 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. + package text import ( diff --git a/text/encoder_test.go b/text/encoder_test.go index d0576723..535e6c3f 100644 --- a/text/encoder_test.go +++ b/text/encoder_test.go @@ -1,3 +1,17 @@ +// Copyright 2020 dfuse Platform Inc. +// +// Licensed 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. + package text import ( diff --git a/text/format/format.go b/text/format/format.go index fb0f53ad..cf705acf 100644 --- a/text/format/format.go +++ b/text/format/format.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package format import ( diff --git a/text/interface.go b/text/interface.go index 32401106..57cf6a71 100644 --- a/text/interface.go +++ b/text/interface.go @@ -1,3 +1,17 @@ +// Copyright 2020 dfuse Platform Inc. +// +// Licensed 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. + package text type TextEncodable interface { diff --git a/text/tag.go b/text/tag.go index 3f6d630d..234e0d0e 100644 --- a/text/tag.go +++ b/text/tag.go @@ -1,3 +1,17 @@ +// Copyright 2020 dfuse Platform Inc. +// +// Licensed 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. + package text import ( diff --git a/text/tools.go b/text/tools.go index 4d841044..387304c9 100644 --- a/text/tools.go +++ b/text/tools.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package text import ( diff --git a/text/tree.go b/text/tree.go index a28239a5..ea269287 100644 --- a/text/tree.go +++ b/text/tree.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package text import ( diff --git a/text/types.go b/text/types.go index 947aad7a..81c262e0 100644 --- a/text/types.go +++ b/text/types.go @@ -1,3 +1,17 @@ +// Copyright 2020 dfuse Platform Inc. +// +// Licensed 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. + package text import ( diff --git a/transaction.go b/transaction.go index 99ffc747..05247d70 100644 --- a/transaction.go +++ b/transaction.go @@ -1,3 +1,20 @@ +// Copyright 2021 github.com/gagliardetto +// This file has been modified by github.com/gagliardetto +// +// Copyright 2020 dfuse Platform Inc. +// +// Licensed 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. + package solana import ( diff --git a/transaction_test.go b/transaction_test.go index 89238fcb..2dac1718 100644 --- a/transaction_test.go +++ b/transaction_test.go @@ -1,3 +1,20 @@ +// Copyright 2021 github.com/gagliardetto +// This file has been modified by github.com/gagliardetto +// +// Copyright 2020 dfuse Platform Inc. +// +// Licensed 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. + package solana import ( diff --git a/vault/json.go b/vault/json.go index 8193479f..77c22166 100644 --- a/vault/json.go +++ b/vault/json.go @@ -1,3 +1,17 @@ +// Copyright 2021 github.com/gagliardetto +// +// Licensed 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. + package vault import ( diff --git a/zap-box/encoder.go b/zap-box/encoder.go index b2338889..834d1754 100644 --- a/zap-box/encoder.go +++ b/zap-box/encoder.go @@ -1,3 +1,17 @@ +// Copyright 2020 dfuse Platform Inc. +// +// Licensed 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. + package zapbox import (