aboutsummaryrefslogtreecommitdiffstats
path: root/common/natspec/natspec.go
diff options
context:
space:
mode:
Diffstat (limited to 'common/natspec/natspec.go')
-rw-r--r--common/natspec/natspec.go18
1 files changed, 17 insertions, 1 deletions
diff --git a/common/natspec/natspec.go b/common/natspec/natspec.go
index 9965a2227..ed16d62a0 100644
--- a/common/natspec/natspec.go
+++ b/common/natspec/natspec.go
@@ -1,10 +1,25 @@
+// Copyright 2015 The go-ethereum Authors
+// This file is part of go-ethereum.
+//
+// go-ethereum is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Lesser General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// go-ethereum is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
+
package natspec
import (
"bytes"
"encoding/json"
"fmt"
- "github.com/robertkrimen/otto"
"strings"
"github.com/ethereum/go-ethereum/common"
@@ -12,6 +27,7 @@ import (
"github.com/ethereum/go-ethereum/common/registrar"
"github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/xeth"
+ "github.com/robertkrimen/otto"
)
type abi2method map[[8]byte]*method