From 26affd91ab19f1dfb254656db1490dace70df270 Mon Sep 17 00:00:00 2001 From: AnilChinchawale Date: Thu, 17 Jan 2019 04:40:25 +0530 Subject: [PATCH] Go Binding added in MultiSigWallet --- .../multisigwallet/contract/multisigwallet.go | 8 ++++---- contracts/multisigwallet/multisigwallet.go | 17 ++++++++++++++++- 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/contracts/multisigwallet/contract/multisigwallet.go b/contracts/multisigwallet/contract/multisigwallet.go index da6e4d5cec..fd5401f632 100644 --- a/contracts/multisigwallet/contract/multisigwallet.go +++ b/contracts/multisigwallet/contract/multisigwallet.go @@ -436,7 +436,7 @@ func (_MultiSigWallet *MultiSigWalletCallerSession) Owners(arg0 *big.Int) (commo return _MultiSigWallet.Contract.Owners(&_MultiSigWallet.CallOpts, arg0) } -// Required is a free data retrieval call binding the contract method 0xdc8452cd. +// Required is a free data retrieval call binding the contract method 0XDC8452cd. // // Solidity: function required() constant returns(uint256) func (_MultiSigWallet *MultiSigWalletCaller) Required(opts *bind.CallOpts) (*big.Int, error) { @@ -448,14 +448,14 @@ func (_MultiSigWallet *MultiSigWalletCaller) Required(opts *bind.CallOpts) (*big return *ret0, err } -// Required is a free data retrieval call binding the contract method 0xdc8452cd. +// Required is a free data retrieval call binding the contract method 0XDC8452cd. // // Solidity: function required() constant returns(uint256) func (_MultiSigWallet *MultiSigWalletSession) Required() (*big.Int, error) { return _MultiSigWallet.Contract.Required(&_MultiSigWallet.CallOpts) } -// Required is a free data retrieval call binding the contract method 0xdc8452cd. +// Required is a free data retrieval call binding the contract method 0XDC8452cd. // // Solidity: function required() constant returns(uint256) func (_MultiSigWallet *MultiSigWalletCallerSession) Required() (*big.Int, error) { @@ -1895,4 +1895,4 @@ func (_MultiSigWallet *MultiSigWalletFilterer) WatchSubmission(opts *bind.WatchO } } }), nil -} \ No newline at end of file +} diff --git a/contracts/multisigwallet/multisigwallet.go b/contracts/multisigwallet/multisigwallet.go index 1f2a4eeea4..e899b9ac0c 100644 --- a/contracts/multisigwallet/multisigwallet.go +++ b/contracts/multisigwallet/multisigwallet.go @@ -1,3 +1,18 @@ +// Copyright (c) 2018 XDCchain +// +// This program 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. +// +// This program 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 this program. If not, see . + package multisigwallet import ( @@ -39,4 +54,4 @@ func DeployMultiSigWallet(transactOpts *bind.TransactOpts, contractBackend bind. } return blockSignerAddr, blockSigner, nil -} \ No newline at end of file +}