2019-03-19 02:58:13 -07:00
// Code generated - DO NOT EDIT.
// This file is a generated binding and any manual changes will be lost.
package permission
import (
"math/big"
"strings"
ethereum "github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi/bind"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/event"
)
2019-03-26 08:20:06 -07:00
// Reference imports to suppress errors if they are not otherwise used.
var (
_ = big . NewInt
_ = strings . NewReader
_ = ethereum . NotFound
_ = abi . U256
_ = bind . Bind
_ = common . Big1
_ = types . BloomLookup
_ = event . NewSubscription
)
2019-03-19 02:58:13 -07:00
// PermImplABI is the input ABI used to generate the binding from.
2019-08-01 19:28:20 -07:00
const PermImplABI = "[{\"constant\":false,\"inputs\":[{\"name\":\"_orgId\",\"type\":\"string\"},{\"name\":\"_account\",\"type\":\"address\"},{\"name\":\"_action\",\"type\":\"uint256\"},{\"name\":\"_caller\",\"type\":\"address\"}],\"name\":\"updateAccountStatus\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_roleId\",\"type\":\"string\"},{\"name\":\"_orgId\",\"type\":\"string\"},{\"name\":\"_access\",\"type\":\"uint256\"},{\"name\":\"_voter\",\"type\":\"bool\"},{\"name\":\"_admin\",\"type\":\"bool\"},{\"name\":\"_caller\",\"type\":\"address\"}],\"name\":\"addNewRole\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_nwAdminOrg\",\"type\":\"string\"},{\"name\":\"_nwAdminRole\",\"type\":\"string\"},{\"name\":\"_oAdminRole\",\"type\":\"string\"}],\"name\":\"setPolicy\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_orgId\",\"type\":\"string\"},{\"name\":\"_account\",\"type\":\"address\"},{\"name\":\"_caller\",\"type\":\"address\"}],\"name\":\"startBlacklistedAccountRecovery\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_orgId\",\"type\":\"string\"},{\"name\":\"_enodeId\",\"type\":\"string\"},{\"name\":\"_account\",\"type\":\"address\"},{\"name\":\"_caller\",\"type\":\"address\"}],\"name\":\"approveOrg\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_orgId\",\"type\":\"string\"},{\"name\":\"_action\",\"type\":\"uint256\"},{\"name\":\"_caller\",\"type\":\"address\"}],\"name\":\"updateOrgStatus\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_enodeId\",\"type\":\"string\"}],\"name\":\"addAdminNode\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_orgId\",\"type\":\"string\"},{\"name\":\"_account\",\"type\":\"address\"},{\"name\":\"_roleId\",\"type\":\"string\"},{\"name\":\"_caller\",\"type\":\"address\"}],\"name\":\"assignAdminRole\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"updateNetworkBootStatus\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_orgId\",\"type\":\"string\"},{\"name\":\"_account\",\"type\":\"address\"},{\"name\":\"_caller\",\"type\":\"address\"}],\"name\":\"approveBlacklistedAccountRecovery\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getNetworkBootStatus\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"addAdminAccount\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_orgId\",\"type\":\"string\"},{\"name\":\"_enodeId\",\"type\":\"string\"},{\"name\":\"_caller\",\"type\":\"address\"}],\"name\":\"addNode\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_roleId\",\"type\":\"string\"},{\"name\":\"_orgId\",\"type\":\"string\"},{\"name\":\"_caller\",\"type\":\"address\"}],\"name\":\"removeRole\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_orgId\",\"type\":\"string\"},{\"name\":\"_enodeId\",\"type\":\"string\"},{\"name\":\"_caller\",\"type\":\"address\"}],\"name\":\" approveBlacklisted
2019-03-19 02:58:13 -07:00
// PermImpl is an auto generated Go binding around an Ethereum contract.
type PermImpl struct {
PermImplCaller // Read-only binding to the contract
PermImplTransactor // Write-only binding to the contract
PermImplFilterer // Log filterer for contract events
}
// PermImplCaller is an auto generated read-only Go binding around an Ethereum contract.
type PermImplCaller struct {
contract * bind . BoundContract // Generic contract wrapper for the low level calls
}
// PermImplTransactor is an auto generated write-only Go binding around an Ethereum contract.
type PermImplTransactor struct {
contract * bind . BoundContract // Generic contract wrapper for the low level calls
}
// PermImplFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
type PermImplFilterer struct {
contract * bind . BoundContract // Generic contract wrapper for the low level calls
}
// PermImplSession is an auto generated Go binding around an Ethereum contract,
// with pre-set call and transact options.
type PermImplSession struct {
Contract * PermImpl // Generic contract binding to set the session for
CallOpts bind . CallOpts // Call options to use throughout this session
TransactOpts bind . TransactOpts // Transaction auth options to use throughout this session
}
// PermImplCallerSession is an auto generated read-only Go binding around an Ethereum contract,
// with pre-set call options.
type PermImplCallerSession struct {
Contract * PermImplCaller // Generic contract caller binding to set the session for
CallOpts bind . CallOpts // Call options to use throughout this session
}
// PermImplTransactorSession is an auto generated write-only Go binding around an Ethereum contract,
// with pre-set transact options.
type PermImplTransactorSession struct {
Contract * PermImplTransactor // Generic contract transactor binding to set the session for
TransactOpts bind . TransactOpts // Transaction auth options to use throughout this session
}
// PermImplRaw is an auto generated low-level Go binding around an Ethereum contract.
type PermImplRaw struct {
Contract * PermImpl // Generic contract binding to access the raw methods on
}
// PermImplCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
type PermImplCallerRaw struct {
Contract * PermImplCaller // Generic read-only contract binding to access the raw methods on
}
// PermImplTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
type PermImplTransactorRaw struct {
Contract * PermImplTransactor // Generic write-only contract binding to access the raw methods on
}
// NewPermImpl creates a new instance of PermImpl, bound to a specific deployed contract.
func NewPermImpl ( address common . Address , backend bind . ContractBackend ) ( * PermImpl , error ) {
contract , err := bindPermImpl ( address , backend , backend , backend )
if err != nil {
return nil , err
}
return & PermImpl { PermImplCaller : PermImplCaller { contract : contract } , PermImplTransactor : PermImplTransactor { contract : contract } , PermImplFilterer : PermImplFilterer { contract : contract } } , nil
}
// NewPermImplCaller creates a new read-only instance of PermImpl, bound to a specific deployed contract.
func NewPermImplCaller ( address common . Address , caller bind . ContractCaller ) ( * PermImplCaller , error ) {
contract , err := bindPermImpl ( address , caller , nil , nil )
if err != nil {
return nil , err
}
return & PermImplCaller { contract : contract } , nil
}
// NewPermImplTransactor creates a new write-only instance of PermImpl, bound to a specific deployed contract.
func NewPermImplTransactor ( address common . Address , transactor bind . ContractTransactor ) ( * PermImplTransactor , error ) {
contract , err := bindPermImpl ( address , nil , transactor , nil )
if err != nil {
return nil , err
}
return & PermImplTransactor { contract : contract } , nil
}
// NewPermImplFilterer creates a new log filterer instance of PermImpl, bound to a specific deployed contract.
func NewPermImplFilterer ( address common . Address , filterer bind . ContractFilterer ) ( * PermImplFilterer , error ) {
contract , err := bindPermImpl ( address , nil , nil , filterer )
if err != nil {
return nil , err
}
return & PermImplFilterer { contract : contract } , nil
}
// bindPermImpl binds a generic wrapper to an already deployed contract.
func bindPermImpl ( address common . Address , caller bind . ContractCaller , transactor bind . ContractTransactor , filterer bind . ContractFilterer ) ( * bind . BoundContract , error ) {
parsed , err := abi . JSON ( strings . NewReader ( PermImplABI ) )
if err != nil {
return nil , err
}
return bind . NewBoundContract ( address , parsed , caller , transactor , filterer ) , nil
}
// Call invokes the (constant) contract method with params as input values and
// sets the output to result. The result type might be a single field for simple
// returns, a slice of interfaces for anonymous returns and a struct for named
// returns.
func ( _PermImpl * PermImplRaw ) Call ( opts * bind . CallOpts , result interface { } , method string , params ... interface { } ) error {
return _PermImpl . Contract . PermImplCaller . contract . Call ( opts , result , method , params ... )
}
// Transfer initiates a plain transaction to move funds to the contract, calling
// its default method if one is available.
func ( _PermImpl * PermImplRaw ) Transfer ( opts * bind . TransactOpts ) ( * types . Transaction , error ) {
return _PermImpl . Contract . PermImplTransactor . contract . Transfer ( opts )
}
// Transact invokes the (paid) contract method with params as input values.
func ( _PermImpl * PermImplRaw ) Transact ( opts * bind . TransactOpts , method string , params ... interface { } ) ( * types . Transaction , error ) {
return _PermImpl . Contract . PermImplTransactor . contract . Transact ( opts , method , params ... )
}
// Call invokes the (constant) contract method with params as input values and
// sets the output to result. The result type might be a single field for simple
// returns, a slice of interfaces for anonymous returns and a struct for named
// returns.
func ( _PermImpl * PermImplCallerRaw ) Call ( opts * bind . CallOpts , result interface { } , method string , params ... interface { } ) error {
return _PermImpl . Contract . contract . Call ( opts , result , method , params ... )
}
// Transfer initiates a plain transaction to move funds to the contract, calling
// its default method if one is available.
func ( _PermImpl * PermImplTransactorRaw ) Transfer ( opts * bind . TransactOpts ) ( * types . Transaction , error ) {
return _PermImpl . Contract . contract . Transfer ( opts )
}
// Transact invokes the (paid) contract method with params as input values.
func ( _PermImpl * PermImplTransactorRaw ) Transact ( opts * bind . TransactOpts , method string , params ... interface { } ) ( * types . Transaction , error ) {
return _PermImpl . Contract . contract . Transact ( opts , method , params ... )
}
// GetNetworkBootStatus is a free data retrieval call binding the contract method 0x4cbfa82e.
//
// Solidity: function getNetworkBootStatus() constant returns(bool)
func ( _PermImpl * PermImplCaller ) GetNetworkBootStatus ( opts * bind . CallOpts ) ( bool , error ) {
var (
ret0 = new ( bool )
)
out := ret0
err := _PermImpl . contract . Call ( opts , out , "getNetworkBootStatus" )
return * ret0 , err
}
// GetNetworkBootStatus is a free data retrieval call binding the contract method 0x4cbfa82e.
//
// Solidity: function getNetworkBootStatus() constant returns(bool)
func ( _PermImpl * PermImplSession ) GetNetworkBootStatus ( ) ( bool , error ) {
return _PermImpl . Contract . GetNetworkBootStatus ( & _PermImpl . CallOpts )
}
// GetNetworkBootStatus is a free data retrieval call binding the contract method 0x4cbfa82e.
//
// Solidity: function getNetworkBootStatus() constant returns(bool)
func ( _PermImpl * PermImplCallerSession ) GetNetworkBootStatus ( ) ( bool , error ) {
return _PermImpl . Contract . GetNetworkBootStatus ( & _PermImpl . CallOpts )
}
// GetPendingOp is a free data retrieval call binding the contract method 0xf346a3a7.
//
// Solidity: function getPendingOp(_orgId string) constant returns(string, string, address, uint256)
func ( _PermImpl * PermImplCaller ) GetPendingOp ( opts * bind . CallOpts , _orgId string ) ( string , string , common . Address , * big . Int , error ) {
var (
ret0 = new ( string )
ret1 = new ( string )
ret2 = new ( common . Address )
ret3 = new ( * big . Int )
)
out := & [ ] interface { } {
ret0 ,
ret1 ,
ret2 ,
ret3 ,
}
err := _PermImpl . contract . Call ( opts , out , "getPendingOp" , _orgId )
return * ret0 , * ret1 , * ret2 , * ret3 , err
}
// GetPendingOp is a free data retrieval call binding the contract method 0xf346a3a7.
//
// Solidity: function getPendingOp(_orgId string) constant returns(string, string, address, uint256)
func ( _PermImpl * PermImplSession ) GetPendingOp ( _orgId string ) ( string , string , common . Address , * big . Int , error ) {
return _PermImpl . Contract . GetPendingOp ( & _PermImpl . CallOpts , _orgId )
}
// GetPendingOp is a free data retrieval call binding the contract method 0xf346a3a7.
//
// Solidity: function getPendingOp(_orgId string) constant returns(string, string, address, uint256)
func ( _PermImpl * PermImplCallerSession ) GetPendingOp ( _orgId string ) ( string , string , common . Address , * big . Int , error ) {
return _PermImpl . Contract . GetPendingOp ( & _PermImpl . CallOpts , _orgId )
}
2019-06-03 00:24:31 -07:00
// GetPolicyDetails is a free data retrieval call binding the contract method 0xcc9ba6fa.
//
// Solidity: function getPolicyDetails() constant returns(string, string, string, bool)
func ( _PermImpl * PermImplCaller ) GetPolicyDetails ( opts * bind . CallOpts ) ( string , string , string , bool , error ) {
var (
ret0 = new ( string )
ret1 = new ( string )
ret2 = new ( string )
ret3 = new ( bool )
)
out := & [ ] interface { } {
ret0 ,
ret1 ,
ret2 ,
ret3 ,
}
err := _PermImpl . contract . Call ( opts , out , "getPolicyDetails" )
return * ret0 , * ret1 , * ret2 , * ret3 , err
}
// GetPolicyDetails is a free data retrieval call binding the contract method 0xcc9ba6fa.
//
// Solidity: function getPolicyDetails() constant returns(string, string, string, bool)
func ( _PermImpl * PermImplSession ) GetPolicyDetails ( ) ( string , string , string , bool , error ) {
return _PermImpl . Contract . GetPolicyDetails ( & _PermImpl . CallOpts )
}
// GetPolicyDetails is a free data retrieval call binding the contract method 0xcc9ba6fa.
//
// Solidity: function getPolicyDetails() constant returns(string, string, string, bool)
func ( _PermImpl * PermImplCallerSession ) GetPolicyDetails ( ) ( string , string , string , bool , error ) {
return _PermImpl . Contract . GetPolicyDetails ( & _PermImpl . CallOpts )
}
2019-03-19 02:58:13 -07:00
// IsNetworkAdmin is a free data retrieval call binding the contract method 0xd1aa0c20.
//
// Solidity: function isNetworkAdmin(_account address) constant returns(bool)
func ( _PermImpl * PermImplCaller ) IsNetworkAdmin ( opts * bind . CallOpts , _account common . Address ) ( bool , error ) {
var (
ret0 = new ( bool )
)
out := ret0
err := _PermImpl . contract . Call ( opts , out , "isNetworkAdmin" , _account )
return * ret0 , err
}
// IsNetworkAdmin is a free data retrieval call binding the contract method 0xd1aa0c20.
//
// Solidity: function isNetworkAdmin(_account address) constant returns(bool)
func ( _PermImpl * PermImplSession ) IsNetworkAdmin ( _account common . Address ) ( bool , error ) {
return _PermImpl . Contract . IsNetworkAdmin ( & _PermImpl . CallOpts , _account )
}
// IsNetworkAdmin is a free data retrieval call binding the contract method 0xd1aa0c20.
//
// Solidity: function isNetworkAdmin(_account address) constant returns(bool)
func ( _PermImpl * PermImplCallerSession ) IsNetworkAdmin ( _account common . Address ) ( bool , error ) {
return _PermImpl . Contract . IsNetworkAdmin ( & _PermImpl . CallOpts , _account )
}
// IsOrgAdmin is a free data retrieval call binding the contract method 0x9bd38101.
//
// Solidity: function isOrgAdmin(_account address, _orgId string) constant returns(bool)
func ( _PermImpl * PermImplCaller ) IsOrgAdmin ( opts * bind . CallOpts , _account common . Address , _orgId string ) ( bool , error ) {
var (
ret0 = new ( bool )
)
out := ret0
err := _PermImpl . contract . Call ( opts , out , "isOrgAdmin" , _account , _orgId )
return * ret0 , err
}
// IsOrgAdmin is a free data retrieval call binding the contract method 0x9bd38101.
//
// Solidity: function isOrgAdmin(_account address, _orgId string) constant returns(bool)
func ( _PermImpl * PermImplSession ) IsOrgAdmin ( _account common . Address , _orgId string ) ( bool , error ) {
return _PermImpl . Contract . IsOrgAdmin ( & _PermImpl . CallOpts , _account , _orgId )
}
// IsOrgAdmin is a free data retrieval call binding the contract method 0x9bd38101.
//
// Solidity: function isOrgAdmin(_account address, _orgId string) constant returns(bool)
func ( _PermImpl * PermImplCallerSession ) IsOrgAdmin ( _account common . Address , _orgId string ) ( bool , error ) {
return _PermImpl . Contract . IsOrgAdmin ( & _PermImpl . CallOpts , _account , _orgId )
}
// ValidateAccount is a free data retrieval call binding the contract method 0x6b568d76.
//
// Solidity: function validateAccount(_account address, _orgId string) constant returns(bool)
func ( _PermImpl * PermImplCaller ) ValidateAccount ( opts * bind . CallOpts , _account common . Address , _orgId string ) ( bool , error ) {
var (
ret0 = new ( bool )
)
out := ret0
err := _PermImpl . contract . Call ( opts , out , "validateAccount" , _account , _orgId )
return * ret0 , err
}
// ValidateAccount is a free data retrieval call binding the contract method 0x6b568d76.
//
// Solidity: function validateAccount(_account address, _orgId string) constant returns(bool)
func ( _PermImpl * PermImplSession ) ValidateAccount ( _account common . Address , _orgId string ) ( bool , error ) {
return _PermImpl . Contract . ValidateAccount ( & _PermImpl . CallOpts , _account , _orgId )
}
// ValidateAccount is a free data retrieval call binding the contract method 0x6b568d76.
//
// Solidity: function validateAccount(_account address, _orgId string) constant returns(bool)
func ( _PermImpl * PermImplCallerSession ) ValidateAccount ( _account common . Address , _orgId string ) ( bool , error ) {
return _PermImpl . Contract . ValidateAccount ( & _PermImpl . CallOpts , _account , _orgId )
}
2019-07-19 01:16:50 -07:00
// AddAdminAccount is a paid mutator transaction binding the contract method 0x4fe57e7a.
2019-03-19 02:58:13 -07:00
//
2019-07-19 01:16:50 -07:00
// Solidity: function addAdminAccount(_account address) returns()
func ( _PermImpl * PermImplTransactor ) AddAdminAccount ( opts * bind . TransactOpts , _account common . Address ) ( * types . Transaction , error ) {
return _PermImpl . contract . Transact ( opts , "addAdminAccount" , _account )
2019-03-19 02:58:13 -07:00
}
2019-07-19 01:16:50 -07:00
// AddAdminAccount is a paid mutator transaction binding the contract method 0x4fe57e7a.
2019-03-19 02:58:13 -07:00
//
2019-07-19 01:16:50 -07:00
// Solidity: function addAdminAccount(_account address) returns()
func ( _PermImpl * PermImplSession ) AddAdminAccount ( _account common . Address ) ( * types . Transaction , error ) {
return _PermImpl . Contract . AddAdminAccount ( & _PermImpl . TransactOpts , _account )
2019-03-19 02:58:13 -07:00
}
2019-07-19 01:16:50 -07:00
// AddAdminAccount is a paid mutator transaction binding the contract method 0x4fe57e7a.
2019-03-19 02:58:13 -07:00
//
2019-07-19 01:16:50 -07:00
// Solidity: function addAdminAccount(_account address) returns()
func ( _PermImpl * PermImplTransactorSession ) AddAdminAccount ( _account common . Address ) ( * types . Transaction , error ) {
return _PermImpl . Contract . AddAdminAccount ( & _PermImpl . TransactOpts , _account )
2019-03-19 02:58:13 -07:00
}
2019-07-19 01:16:50 -07:00
// AddAdminNode is a paid mutator transaction binding the contract method 0x3f25c288.
2019-03-19 02:58:13 -07:00
//
2019-07-19 01:16:50 -07:00
// Solidity: function addAdminNode(_enodeId string) returns()
func ( _PermImpl * PermImplTransactor ) AddAdminNode ( opts * bind . TransactOpts , _enodeId string ) ( * types . Transaction , error ) {
return _PermImpl . contract . Transact ( opts , "addAdminNode" , _enodeId )
2019-03-19 02:58:13 -07:00
}
2019-07-19 01:16:50 -07:00
// AddAdminNode is a paid mutator transaction binding the contract method 0x3f25c288.
2019-03-19 02:58:13 -07:00
//
2019-07-19 01:16:50 -07:00
// Solidity: function addAdminNode(_enodeId string) returns()
func ( _PermImpl * PermImplSession ) AddAdminNode ( _enodeId string ) ( * types . Transaction , error ) {
return _PermImpl . Contract . AddAdminNode ( & _PermImpl . TransactOpts , _enodeId )
2019-03-19 02:58:13 -07:00
}
2019-07-19 01:16:50 -07:00
// AddAdminNode is a paid mutator transaction binding the contract method 0x3f25c288.
2019-03-19 02:58:13 -07:00
//
2019-07-19 01:16:50 -07:00
// Solidity: function addAdminNode(_enodeId string) returns()
func ( _PermImpl * PermImplTransactorSession ) AddAdminNode ( _enodeId string ) ( * types . Transaction , error ) {
return _PermImpl . Contract . AddAdminNode ( & _PermImpl . TransactOpts , _enodeId )
2019-03-19 02:58:13 -07:00
}
2019-04-26 01:35:51 -07:00
// AddNewRole is a paid mutator transaction binding the contract method 0x1b04c276.
2019-03-19 02:58:13 -07:00
//
2019-04-26 01:35:51 -07:00
// Solidity: function addNewRole(_roleId string, _orgId string, _access uint256, _voter bool, _admin bool, _caller address) returns()
func ( _PermImpl * PermImplTransactor ) AddNewRole ( opts * bind . TransactOpts , _roleId string , _orgId string , _access * big . Int , _voter bool , _admin bool , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . contract . Transact ( opts , "addNewRole" , _roleId , _orgId , _access , _voter , _admin , _caller )
2019-03-19 02:58:13 -07:00
}
2019-04-26 01:35:51 -07:00
// AddNewRole is a paid mutator transaction binding the contract method 0x1b04c276.
2019-03-19 02:58:13 -07:00
//
2019-04-26 01:35:51 -07:00
// Solidity: function addNewRole(_roleId string, _orgId string, _access uint256, _voter bool, _admin bool, _caller address) returns()
func ( _PermImpl * PermImplSession ) AddNewRole ( _roleId string , _orgId string , _access * big . Int , _voter bool , _admin bool , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . Contract . AddNewRole ( & _PermImpl . TransactOpts , _roleId , _orgId , _access , _voter , _admin , _caller )
2019-03-19 02:58:13 -07:00
}
2019-04-26 01:35:51 -07:00
// AddNewRole is a paid mutator transaction binding the contract method 0x1b04c276.
2019-03-19 02:58:13 -07:00
//
2019-04-26 01:35:51 -07:00
// Solidity: function addNewRole(_roleId string, _orgId string, _access uint256, _voter bool, _admin bool, _caller address) returns()
func ( _PermImpl * PermImplTransactorSession ) AddNewRole ( _roleId string , _orgId string , _access * big . Int , _voter bool , _admin bool , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . Contract . AddNewRole ( & _PermImpl . TransactOpts , _roleId , _orgId , _access , _voter , _admin , _caller )
2019-03-19 02:58:13 -07:00
}
2019-03-26 08:20:06 -07:00
// AddNode is a paid mutator transaction binding the contract method 0x59a260a3.
2019-03-19 02:58:13 -07:00
//
2019-03-26 08:20:06 -07:00
// Solidity: function addNode(_orgId string, _enodeId string, _caller address) returns()
func ( _PermImpl * PermImplTransactor ) AddNode ( opts * bind . TransactOpts , _orgId string , _enodeId string , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . contract . Transact ( opts , "addNode" , _orgId , _enodeId , _caller )
2019-03-19 02:58:13 -07:00
}
2019-03-26 08:20:06 -07:00
// AddNode is a paid mutator transaction binding the contract method 0x59a260a3.
2019-03-19 02:58:13 -07:00
//
2019-03-26 08:20:06 -07:00
// Solidity: function addNode(_orgId string, _enodeId string, _caller address) returns()
func ( _PermImpl * PermImplSession ) AddNode ( _orgId string , _enodeId string , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . Contract . AddNode ( & _PermImpl . TransactOpts , _orgId , _enodeId , _caller )
2019-03-19 02:58:13 -07:00
}
2019-03-26 08:20:06 -07:00
// AddNode is a paid mutator transaction binding the contract method 0x59a260a3.
2019-03-19 02:58:13 -07:00
//
2019-03-26 08:20:06 -07:00
// Solidity: function addNode(_orgId string, _enodeId string, _caller address) returns()
func ( _PermImpl * PermImplTransactorSession ) AddNode ( _orgId string , _enodeId string , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . Contract . AddNode ( & _PermImpl . TransactOpts , _orgId , _enodeId , _caller )
2019-03-19 02:58:13 -07:00
}
2019-04-08 01:57:36 -07:00
// AddOrg is a paid mutator transaction binding the contract method 0xf922f802.
2019-03-19 02:58:13 -07:00
//
2019-04-08 01:57:36 -07:00
// Solidity: function addOrg(_orgId string, _enodeId string, _account address, _caller address) returns()
func ( _PermImpl * PermImplTransactor ) AddOrg ( opts * bind . TransactOpts , _orgId string , _enodeId string , _account common . Address , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . contract . Transact ( opts , "addOrg" , _orgId , _enodeId , _account , _caller )
2019-03-19 02:58:13 -07:00
}
2019-04-08 01:57:36 -07:00
// AddOrg is a paid mutator transaction binding the contract method 0xf922f802.
2019-03-19 02:58:13 -07:00
//
2019-04-08 01:57:36 -07:00
// Solidity: function addOrg(_orgId string, _enodeId string, _account address, _caller address) returns()
func ( _PermImpl * PermImplSession ) AddOrg ( _orgId string , _enodeId string , _account common . Address , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . Contract . AddOrg ( & _PermImpl . TransactOpts , _orgId , _enodeId , _account , _caller )
2019-03-19 02:58:13 -07:00
}
2019-04-08 01:57:36 -07:00
// AddOrg is a paid mutator transaction binding the contract method 0xf922f802.
2019-03-19 02:58:13 -07:00
//
2019-04-08 01:57:36 -07:00
// Solidity: function addOrg(_orgId string, _enodeId string, _account address, _caller address) returns()
func ( _PermImpl * PermImplTransactorSession ) AddOrg ( _orgId string , _enodeId string , _account common . Address , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . Contract . AddOrg ( & _PermImpl . TransactOpts , _orgId , _enodeId , _account , _caller )
2019-03-19 02:58:13 -07:00
}
2019-05-12 23:15:09 -07:00
// AddSubOrg is a paid mutator transaction binding the contract method 0xa64d2860.
2019-04-08 23:58:30 -07:00
//
2019-07-19 01:16:50 -07:00
// Solidity: function addSubOrg(_pOrgId string, _orgId string, _enodeId string, _caller address) returns()
func ( _PermImpl * PermImplTransactor ) AddSubOrg ( opts * bind . TransactOpts , _pOrgId string , _orgId string , _enodeId string , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . contract . Transact ( opts , "addSubOrg" , _pOrgId , _orgId , _enodeId , _caller )
2019-04-08 23:58:30 -07:00
}
2019-05-12 23:15:09 -07:00
// AddSubOrg is a paid mutator transaction binding the contract method 0xa64d2860.
2019-04-08 23:58:30 -07:00
//
2019-07-19 01:16:50 -07:00
// Solidity: function addSubOrg(_pOrgId string, _orgId string, _enodeId string, _caller address) returns()
func ( _PermImpl * PermImplSession ) AddSubOrg ( _pOrgId string , _orgId string , _enodeId string , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . Contract . AddSubOrg ( & _PermImpl . TransactOpts , _pOrgId , _orgId , _enodeId , _caller )
2019-04-08 23:58:30 -07:00
}
2019-05-12 23:15:09 -07:00
// AddSubOrg is a paid mutator transaction binding the contract method 0xa64d2860.
2019-04-08 23:58:30 -07:00
//
2019-07-19 01:16:50 -07:00
// Solidity: function addSubOrg(_pOrgId string, _orgId string, _enodeId string, _caller address) returns()
func ( _PermImpl * PermImplTransactorSession ) AddSubOrg ( _pOrgId string , _orgId string , _enodeId string , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . Contract . AddSubOrg ( & _PermImpl . TransactOpts , _pOrgId , _orgId , _enodeId , _caller )
2019-04-08 23:58:30 -07:00
}
2019-04-23 23:40:28 -07:00
// ApproveAdminRole is a paid mutator transaction binding the contract method 0x88843041.
//
// Solidity: function approveAdminRole(_orgId string, _account address, _caller address) returns()
func ( _PermImpl * PermImplTransactor ) ApproveAdminRole ( opts * bind . TransactOpts , _orgId string , _account common . Address , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . contract . Transact ( opts , "approveAdminRole" , _orgId , _account , _caller )
}
// ApproveAdminRole is a paid mutator transaction binding the contract method 0x88843041.
//
// Solidity: function approveAdminRole(_orgId string, _account address, _caller address) returns()
func ( _PermImpl * PermImplSession ) ApproveAdminRole ( _orgId string , _account common . Address , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . Contract . ApproveAdminRole ( & _PermImpl . TransactOpts , _orgId , _account , _caller )
}
// ApproveAdminRole is a paid mutator transaction binding the contract method 0x88843041.
//
// Solidity: function approveAdminRole(_orgId string, _account address, _caller address) returns()
func ( _PermImpl * PermImplTransactorSession ) ApproveAdminRole ( _orgId string , _account common . Address , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . Contract . ApproveAdminRole ( & _PermImpl . TransactOpts , _orgId , _account , _caller )
}
2019-08-01 19:28:20 -07:00
// ApproveBlacklistedAccountRecovery is a paid mutator transaction binding the contract method 0x4b20f45f.
//
// Solidity: function approveBlacklistedAccountRecovery(_orgId string, _account address, _caller address) returns()
func ( _PermImpl * PermImplTransactor ) ApproveBlacklistedAccountRecovery ( opts * bind . TransactOpts , _orgId string , _account common . Address , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . contract . Transact ( opts , "approveBlacklistedAccountRecovery" , _orgId , _account , _caller )
}
// ApproveBlacklistedAccountRecovery is a paid mutator transaction binding the contract method 0x4b20f45f.
//
// Solidity: function approveBlacklistedAccountRecovery(_orgId string, _account address, _caller address) returns()
func ( _PermImpl * PermImplSession ) ApproveBlacklistedAccountRecovery ( _orgId string , _account common . Address , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . Contract . ApproveBlacklistedAccountRecovery ( & _PermImpl . TransactOpts , _orgId , _account , _caller )
}
// ApproveBlacklistedAccountRecovery is a paid mutator transaction binding the contract method 0x4b20f45f.
//
// Solidity: function approveBlacklistedAccountRecovery(_orgId string, _account address, _caller address) returns()
func ( _PermImpl * PermImplTransactorSession ) ApproveBlacklistedAccountRecovery ( _orgId string , _account common . Address , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . Contract . ApproveBlacklistedAccountRecovery ( & _PermImpl . TransactOpts , _orgId , _account , _caller )
}
2019-08-01 00:19:40 -07:00
// ApproveBlacklistedNodeRecovery is a paid mutator transaction binding the contract method 0x655a8ef5.
//
// Solidity: function approveBlacklistedNodeRecovery(_orgId string, _enodeId string, _caller address) returns()
func ( _PermImpl * PermImplTransactor ) ApproveBlacklistedNodeRecovery ( opts * bind . TransactOpts , _orgId string , _enodeId string , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . contract . Transact ( opts , "approveBlacklistedNodeRecovery" , _orgId , _enodeId , _caller )
}
// ApproveBlacklistedNodeRecovery is a paid mutator transaction binding the contract method 0x655a8ef5.
//
// Solidity: function approveBlacklistedNodeRecovery(_orgId string, _enodeId string, _caller address) returns()
func ( _PermImpl * PermImplSession ) ApproveBlacklistedNodeRecovery ( _orgId string , _enodeId string , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . Contract . ApproveBlacklistedNodeRecovery ( & _PermImpl . TransactOpts , _orgId , _enodeId , _caller )
}
// ApproveBlacklistedNodeRecovery is a paid mutator transaction binding the contract method 0x655a8ef5.
//
// Solidity: function approveBlacklistedNodeRecovery(_orgId string, _enodeId string, _caller address) returns()
func ( _PermImpl * PermImplTransactorSession ) ApproveBlacklistedNodeRecovery ( _orgId string , _enodeId string , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . Contract . ApproveBlacklistedNodeRecovery ( & _PermImpl . TransactOpts , _orgId , _enodeId , _caller )
}
2019-04-08 01:57:36 -07:00
// ApproveOrg is a paid mutator transaction binding the contract method 0x3bc07dea.
2019-03-19 02:58:13 -07:00
//
2019-04-08 01:57:36 -07:00
// Solidity: function approveOrg(_orgId string, _enodeId string, _account address, _caller address) returns()
func ( _PermImpl * PermImplTransactor ) ApproveOrg ( opts * bind . TransactOpts , _orgId string , _enodeId string , _account common . Address , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . contract . Transact ( opts , "approveOrg" , _orgId , _enodeId , _account , _caller )
2019-03-19 02:58:13 -07:00
}
2019-04-08 01:57:36 -07:00
// ApproveOrg is a paid mutator transaction binding the contract method 0x3bc07dea.
2019-03-19 02:58:13 -07:00
//
2019-04-08 01:57:36 -07:00
// Solidity: function approveOrg(_orgId string, _enodeId string, _account address, _caller address) returns()
func ( _PermImpl * PermImplSession ) ApproveOrg ( _orgId string , _enodeId string , _account common . Address , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . Contract . ApproveOrg ( & _PermImpl . TransactOpts , _orgId , _enodeId , _account , _caller )
2019-03-19 02:58:13 -07:00
}
2019-04-08 01:57:36 -07:00
// ApproveOrg is a paid mutator transaction binding the contract method 0x3bc07dea.
2019-03-19 02:58:13 -07:00
//
2019-04-08 01:57:36 -07:00
// Solidity: function approveOrg(_orgId string, _enodeId string, _account address, _caller address) returns()
func ( _PermImpl * PermImplTransactorSession ) ApproveOrg ( _orgId string , _enodeId string , _account common . Address , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . Contract . ApproveOrg ( & _PermImpl . TransactOpts , _orgId , _enodeId , _account , _caller )
2019-03-19 02:58:13 -07:00
}
2019-04-01 03:22:41 -07:00
// ApproveOrgStatus is a paid mutator transaction binding the contract method 0xb5546564.
2019-03-28 03:06:24 -07:00
//
2019-05-12 23:15:09 -07:00
// Solidity: function approveOrgStatus(_orgId string, _action uint256, _caller address) returns()
func ( _PermImpl * PermImplTransactor ) ApproveOrgStatus ( opts * bind . TransactOpts , _orgId string , _action * big . Int , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . contract . Transact ( opts , "approveOrgStatus" , _orgId , _action , _caller )
2019-03-28 03:06:24 -07:00
}
2019-04-01 03:22:41 -07:00
// ApproveOrgStatus is a paid mutator transaction binding the contract method 0xb5546564.
2019-03-28 03:06:24 -07:00
//
2019-05-12 23:15:09 -07:00
// Solidity: function approveOrgStatus(_orgId string, _action uint256, _caller address) returns()
func ( _PermImpl * PermImplSession ) ApproveOrgStatus ( _orgId string , _action * big . Int , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . Contract . ApproveOrgStatus ( & _PermImpl . TransactOpts , _orgId , _action , _caller )
2019-03-28 03:06:24 -07:00
}
2019-04-01 03:22:41 -07:00
// ApproveOrgStatus is a paid mutator transaction binding the contract method 0xb5546564.
2019-03-28 03:06:24 -07:00
//
2019-05-12 23:15:09 -07:00
// Solidity: function approveOrgStatus(_orgId string, _action uint256, _caller address) returns()
func ( _PermImpl * PermImplTransactorSession ) ApproveOrgStatus ( _orgId string , _action * big . Int , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . Contract . ApproveOrgStatus ( & _PermImpl . TransactOpts , _orgId , _action , _caller )
2019-03-28 03:06:24 -07:00
}
2019-03-26 08:20:06 -07:00
// AssignAccountRole is a paid mutator transaction binding the contract method 0x8baa8191.
2019-03-19 02:58:13 -07:00
//
2019-07-19 01:16:50 -07:00
// Solidity: function assignAccountRole(_account address, _orgId string, _roleId string, _caller address) returns()
func ( _PermImpl * PermImplTransactor ) AssignAccountRole ( opts * bind . TransactOpts , _account common . Address , _orgId string , _roleId string , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . contract . Transact ( opts , "assignAccountRole" , _account , _orgId , _roleId , _caller )
2019-03-19 02:58:13 -07:00
}
2019-03-26 08:20:06 -07:00
// AssignAccountRole is a paid mutator transaction binding the contract method 0x8baa8191.
2019-03-19 02:58:13 -07:00
//
2019-07-19 01:16:50 -07:00
// Solidity: function assignAccountRole(_account address, _orgId string, _roleId string, _caller address) returns()
func ( _PermImpl * PermImplSession ) AssignAccountRole ( _account common . Address , _orgId string , _roleId string , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . Contract . AssignAccountRole ( & _PermImpl . TransactOpts , _account , _orgId , _roleId , _caller )
2019-03-19 02:58:13 -07:00
}
2019-03-26 08:20:06 -07:00
// AssignAccountRole is a paid mutator transaction binding the contract method 0x8baa8191.
2019-03-19 02:58:13 -07:00
//
2019-07-19 01:16:50 -07:00
// Solidity: function assignAccountRole(_account address, _orgId string, _roleId string, _caller address) returns()
func ( _PermImpl * PermImplTransactorSession ) AssignAccountRole ( _account common . Address , _orgId string , _roleId string , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . Contract . AssignAccountRole ( & _PermImpl . TransactOpts , _account , _orgId , _roleId , _caller )
2019-03-19 02:58:13 -07:00
}
2019-04-23 23:40:28 -07:00
// AssignAdminRole is a paid mutator transaction binding the contract method 0x404bf3eb.
2019-03-19 02:58:13 -07:00
//
2019-04-23 23:40:28 -07:00
// Solidity: function assignAdminRole(_orgId string, _account address, _roleId string, _caller address) returns()
func ( _PermImpl * PermImplTransactor ) AssignAdminRole ( opts * bind . TransactOpts , _orgId string , _account common . Address , _roleId string , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . contract . Transact ( opts , "assignAdminRole" , _orgId , _account , _roleId , _caller )
2019-03-19 02:58:13 -07:00
}
2019-04-23 23:40:28 -07:00
// AssignAdminRole is a paid mutator transaction binding the contract method 0x404bf3eb.
2019-03-19 02:58:13 -07:00
//
2019-04-23 23:40:28 -07:00
// Solidity: function assignAdminRole(_orgId string, _account address, _roleId string, _caller address) returns()
func ( _PermImpl * PermImplSession ) AssignAdminRole ( _orgId string , _account common . Address , _roleId string , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . Contract . AssignAdminRole ( & _PermImpl . TransactOpts , _orgId , _account , _roleId , _caller )
2019-03-19 02:58:13 -07:00
}
2019-04-23 23:40:28 -07:00
// AssignAdminRole is a paid mutator transaction binding the contract method 0x404bf3eb.
2019-03-19 02:58:13 -07:00
//
2019-04-23 23:40:28 -07:00
// Solidity: function assignAdminRole(_orgId string, _account address, _roleId string, _caller address) returns()
func ( _PermImpl * PermImplTransactorSession ) AssignAdminRole ( _orgId string , _account common . Address , _roleId string , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . Contract . AssignAdminRole ( & _PermImpl . TransactOpts , _orgId , _account , _roleId , _caller )
2019-03-19 02:58:13 -07:00
}
2019-06-02 22:37:23 -07:00
// Init is a paid mutator transaction binding the contract method 0xa5843f08.
2019-03-19 02:58:13 -07:00
//
2019-06-02 22:37:23 -07:00
// Solidity: function init(_breadth uint256, _depth uint256) returns()
func ( _PermImpl * PermImplTransactor ) Init ( opts * bind . TransactOpts , _breadth * big . Int , _depth * big . Int ) ( * types . Transaction , error ) {
return _PermImpl . contract . Transact ( opts , "init" , _breadth , _depth )
2019-03-19 02:58:13 -07:00
}
2019-06-02 22:37:23 -07:00
// Init is a paid mutator transaction binding the contract method 0xa5843f08.
2019-03-19 02:58:13 -07:00
//
2019-06-02 22:37:23 -07:00
// Solidity: function init(_breadth uint256, _depth uint256) returns()
func ( _PermImpl * PermImplSession ) Init ( _breadth * big . Int , _depth * big . Int ) ( * types . Transaction , error ) {
return _PermImpl . Contract . Init ( & _PermImpl . TransactOpts , _breadth , _depth )
2019-03-19 02:58:13 -07:00
}
2019-06-02 22:37:23 -07:00
// Init is a paid mutator transaction binding the contract method 0xa5843f08.
2019-03-19 02:58:13 -07:00
//
2019-06-02 22:37:23 -07:00
// Solidity: function init(_breadth uint256, _depth uint256) returns()
func ( _PermImpl * PermImplTransactorSession ) Init ( _breadth * big . Int , _depth * big . Int ) ( * types . Transaction , error ) {
return _PermImpl . Contract . Init ( & _PermImpl . TransactOpts , _breadth , _depth )
2019-03-19 02:58:13 -07:00
}
2019-03-29 02:49:46 -07:00
// RemoveRole is a paid mutator transaction binding the contract method 0x5ca5adbe.
2019-03-19 02:58:13 -07:00
//
2019-03-29 02:49:46 -07:00
// Solidity: function removeRole(_roleId string, _orgId string, _caller address) returns()
func ( _PermImpl * PermImplTransactor ) RemoveRole ( opts * bind . TransactOpts , _roleId string , _orgId string , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . contract . Transact ( opts , "removeRole" , _roleId , _orgId , _caller )
2019-03-19 02:58:13 -07:00
}
2019-03-29 02:49:46 -07:00
// RemoveRole is a paid mutator transaction binding the contract method 0x5ca5adbe.
2019-03-19 02:58:13 -07:00
//
2019-03-29 02:49:46 -07:00
// Solidity: function removeRole(_roleId string, _orgId string, _caller address) returns()
func ( _PermImpl * PermImplSession ) RemoveRole ( _roleId string , _orgId string , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . Contract . RemoveRole ( & _PermImpl . TransactOpts , _roleId , _orgId , _caller )
2019-03-19 02:58:13 -07:00
}
2019-03-29 02:49:46 -07:00
// RemoveRole is a paid mutator transaction binding the contract method 0x5ca5adbe.
2019-03-19 02:58:13 -07:00
//
2019-03-29 02:49:46 -07:00
// Solidity: function removeRole(_roleId string, _orgId string, _caller address) returns()
func ( _PermImpl * PermImplTransactorSession ) RemoveRole ( _roleId string , _orgId string , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . Contract . RemoveRole ( & _PermImpl . TransactOpts , _roleId , _orgId , _caller )
2019-03-19 02:58:13 -07:00
}
2019-06-03 00:24:31 -07:00
// SetMigrationPolicy is a paid mutator transaction binding the contract method 0xf5ad584a.
//
// Solidity: function setMigrationPolicy(_nwAdminOrg string, _nwAdminRole string, _oAdminRole string, _networkBootStatus bool) returns()
func ( _PermImpl * PermImplTransactor ) SetMigrationPolicy ( opts * bind . TransactOpts , _nwAdminOrg string , _nwAdminRole string , _oAdminRole string , _networkBootStatus bool ) ( * types . Transaction , error ) {
return _PermImpl . contract . Transact ( opts , "setMigrationPolicy" , _nwAdminOrg , _nwAdminRole , _oAdminRole , _networkBootStatus )
}
// SetMigrationPolicy is a paid mutator transaction binding the contract method 0xf5ad584a.
//
// Solidity: function setMigrationPolicy(_nwAdminOrg string, _nwAdminRole string, _oAdminRole string, _networkBootStatus bool) returns()
func ( _PermImpl * PermImplSession ) SetMigrationPolicy ( _nwAdminOrg string , _nwAdminRole string , _oAdminRole string , _networkBootStatus bool ) ( * types . Transaction , error ) {
return _PermImpl . Contract . SetMigrationPolicy ( & _PermImpl . TransactOpts , _nwAdminOrg , _nwAdminRole , _oAdminRole , _networkBootStatus )
}
// SetMigrationPolicy is a paid mutator transaction binding the contract method 0xf5ad584a.
//
// Solidity: function setMigrationPolicy(_nwAdminOrg string, _nwAdminRole string, _oAdminRole string, _networkBootStatus bool) returns()
func ( _PermImpl * PermImplTransactorSession ) SetMigrationPolicy ( _nwAdminOrg string , _nwAdminRole string , _oAdminRole string , _networkBootStatus bool ) ( * types . Transaction , error ) {
return _PermImpl . Contract . SetMigrationPolicy ( & _PermImpl . TransactOpts , _nwAdminOrg , _nwAdminRole , _oAdminRole , _networkBootStatus )
}
2019-03-19 02:58:13 -07:00
// SetPolicy is a paid mutator transaction binding the contract method 0x1b610220.
//
// Solidity: function setPolicy(_nwAdminOrg string, _nwAdminRole string, _oAdminRole string) returns()
func ( _PermImpl * PermImplTransactor ) SetPolicy ( opts * bind . TransactOpts , _nwAdminOrg string , _nwAdminRole string , _oAdminRole string ) ( * types . Transaction , error ) {
return _PermImpl . contract . Transact ( opts , "setPolicy" , _nwAdminOrg , _nwAdminRole , _oAdminRole )
}
// SetPolicy is a paid mutator transaction binding the contract method 0x1b610220.
//
// Solidity: function setPolicy(_nwAdminOrg string, _nwAdminRole string, _oAdminRole string) returns()
func ( _PermImpl * PermImplSession ) SetPolicy ( _nwAdminOrg string , _nwAdminRole string , _oAdminRole string ) ( * types . Transaction , error ) {
return _PermImpl . Contract . SetPolicy ( & _PermImpl . TransactOpts , _nwAdminOrg , _nwAdminRole , _oAdminRole )
}
// SetPolicy is a paid mutator transaction binding the contract method 0x1b610220.
//
// Solidity: function setPolicy(_nwAdminOrg string, _nwAdminRole string, _oAdminRole string) returns()
func ( _PermImpl * PermImplTransactorSession ) SetPolicy ( _nwAdminOrg string , _nwAdminRole string , _oAdminRole string ) ( * types . Transaction , error ) {
return _PermImpl . Contract . SetPolicy ( & _PermImpl . TransactOpts , _nwAdminOrg , _nwAdminRole , _oAdminRole )
}
2019-08-01 19:28:20 -07:00
// StartBlacklistedAccountRecovery is a paid mutator transaction binding the contract method 0x1c249912.
//
// Solidity: function startBlacklistedAccountRecovery(_orgId string, _account address, _caller address) returns()
func ( _PermImpl * PermImplTransactor ) StartBlacklistedAccountRecovery ( opts * bind . TransactOpts , _orgId string , _account common . Address , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . contract . Transact ( opts , "startBlacklistedAccountRecovery" , _orgId , _account , _caller )
}
// StartBlacklistedAccountRecovery is a paid mutator transaction binding the contract method 0x1c249912.
//
// Solidity: function startBlacklistedAccountRecovery(_orgId string, _account address, _caller address) returns()
func ( _PermImpl * PermImplSession ) StartBlacklistedAccountRecovery ( _orgId string , _account common . Address , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . Contract . StartBlacklistedAccountRecovery ( & _PermImpl . TransactOpts , _orgId , _account , _caller )
}
// StartBlacklistedAccountRecovery is a paid mutator transaction binding the contract method 0x1c249912.
//
// Solidity: function startBlacklistedAccountRecovery(_orgId string, _account address, _caller address) returns()
func ( _PermImpl * PermImplTransactorSession ) StartBlacklistedAccountRecovery ( _orgId string , _account common . Address , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . Contract . StartBlacklistedAccountRecovery ( & _PermImpl . TransactOpts , _orgId , _account , _caller )
}
2019-07-31 20:10:50 -07:00
// StartBlacklistedNodeRecovery is a paid mutator transaction binding the contract method 0xc3dc8e09.
//
// Solidity: function startBlacklistedNodeRecovery(_orgId string, _enodeId string, _caller address) returns()
func ( _PermImpl * PermImplTransactor ) StartBlacklistedNodeRecovery ( opts * bind . TransactOpts , _orgId string , _enodeId string , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . contract . Transact ( opts , "startBlacklistedNodeRecovery" , _orgId , _enodeId , _caller )
}
// StartBlacklistedNodeRecovery is a paid mutator transaction binding the contract method 0xc3dc8e09.
//
// Solidity: function startBlacklistedNodeRecovery(_orgId string, _enodeId string, _caller address) returns()
func ( _PermImpl * PermImplSession ) StartBlacklistedNodeRecovery ( _orgId string , _enodeId string , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . Contract . StartBlacklistedNodeRecovery ( & _PermImpl . TransactOpts , _orgId , _enodeId , _caller )
}
// StartBlacklistedNodeRecovery is a paid mutator transaction binding the contract method 0xc3dc8e09.
//
// Solidity: function startBlacklistedNodeRecovery(_orgId string, _enodeId string, _caller address) returns()
func ( _PermImpl * PermImplTransactorSession ) StartBlacklistedNodeRecovery ( _orgId string , _enodeId string , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . Contract . StartBlacklistedNodeRecovery ( & _PermImpl . TransactOpts , _orgId , _enodeId , _caller )
}
2019-04-14 21:32:06 -07:00
// UpdateAccountStatus is a paid mutator transaction binding the contract method 0x04e81f1e.
//
2019-07-19 01:48:42 -07:00
// Solidity: function updateAccountStatus(_orgId string, _account address, _action uint256, _caller address) returns()
func ( _PermImpl * PermImplTransactor ) UpdateAccountStatus ( opts * bind . TransactOpts , _orgId string , _account common . Address , _action * big . Int , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . contract . Transact ( opts , "updateAccountStatus" , _orgId , _account , _action , _caller )
2019-04-14 21:32:06 -07:00
}
// UpdateAccountStatus is a paid mutator transaction binding the contract method 0x04e81f1e.
//
2019-07-19 01:48:42 -07:00
// Solidity: function updateAccountStatus(_orgId string, _account address, _action uint256, _caller address) returns()
func ( _PermImpl * PermImplSession ) UpdateAccountStatus ( _orgId string , _account common . Address , _action * big . Int , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . Contract . UpdateAccountStatus ( & _PermImpl . TransactOpts , _orgId , _account , _action , _caller )
2019-04-14 21:32:06 -07:00
}
// UpdateAccountStatus is a paid mutator transaction binding the contract method 0x04e81f1e.
//
2019-07-19 01:48:42 -07:00
// Solidity: function updateAccountStatus(_orgId string, _account address, _action uint256, _caller address) returns()
func ( _PermImpl * PermImplTransactorSession ) UpdateAccountStatus ( _orgId string , _account common . Address , _action * big . Int , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . Contract . UpdateAccountStatus ( & _PermImpl . TransactOpts , _orgId , _account , _action , _caller )
2019-04-14 21:32:06 -07:00
}
2019-03-19 02:58:13 -07:00
// UpdateNetworkBootStatus is a paid mutator transaction binding the contract method 0x44478e79.
//
// Solidity: function updateNetworkBootStatus() returns(bool)
func ( _PermImpl * PermImplTransactor ) UpdateNetworkBootStatus ( opts * bind . TransactOpts ) ( * types . Transaction , error ) {
return _PermImpl . contract . Transact ( opts , "updateNetworkBootStatus" )
}
// UpdateNetworkBootStatus is a paid mutator transaction binding the contract method 0x44478e79.
//
// Solidity: function updateNetworkBootStatus() returns(bool)
func ( _PermImpl * PermImplSession ) UpdateNetworkBootStatus ( ) ( * types . Transaction , error ) {
return _PermImpl . Contract . UpdateNetworkBootStatus ( & _PermImpl . TransactOpts )
}
// UpdateNetworkBootStatus is a paid mutator transaction binding the contract method 0x44478e79.
//
// Solidity: function updateNetworkBootStatus() returns(bool)
func ( _PermImpl * PermImplTransactorSession ) UpdateNetworkBootStatus ( ) ( * types . Transaction , error ) {
return _PermImpl . Contract . UpdateNetworkBootStatus ( & _PermImpl . TransactOpts )
}
2019-03-28 03:06:24 -07:00
// UpdateNodeStatus is a paid mutator transaction binding the contract method 0xdbfad711.
//
2019-05-12 23:15:09 -07:00
// Solidity: function updateNodeStatus(_orgId string, _enodeId string, _action uint256, _caller address) returns()
func ( _PermImpl * PermImplTransactor ) UpdateNodeStatus ( opts * bind . TransactOpts , _orgId string , _enodeId string , _action * big . Int , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . contract . Transact ( opts , "updateNodeStatus" , _orgId , _enodeId , _action , _caller )
2019-03-28 03:06:24 -07:00
}
// UpdateNodeStatus is a paid mutator transaction binding the contract method 0xdbfad711.
//
2019-05-12 23:15:09 -07:00
// Solidity: function updateNodeStatus(_orgId string, _enodeId string, _action uint256, _caller address) returns()
func ( _PermImpl * PermImplSession ) UpdateNodeStatus ( _orgId string , _enodeId string , _action * big . Int , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . Contract . UpdateNodeStatus ( & _PermImpl . TransactOpts , _orgId , _enodeId , _action , _caller )
2019-03-28 03:06:24 -07:00
}
// UpdateNodeStatus is a paid mutator transaction binding the contract method 0xdbfad711.
//
2019-05-12 23:15:09 -07:00
// Solidity: function updateNodeStatus(_orgId string, _enodeId string, _action uint256, _caller address) returns()
func ( _PermImpl * PermImplTransactorSession ) UpdateNodeStatus ( _orgId string , _enodeId string , _action * big . Int , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . Contract . UpdateNodeStatus ( & _PermImpl . TransactOpts , _orgId , _enodeId , _action , _caller )
2019-03-28 03:06:24 -07:00
}
2019-04-01 03:22:41 -07:00
// UpdateOrgStatus is a paid mutator transaction binding the contract method 0x3cf5f33b.
2019-03-28 03:06:24 -07:00
//
2019-05-12 23:15:09 -07:00
// Solidity: function updateOrgStatus(_orgId string, _action uint256, _caller address) returns()
func ( _PermImpl * PermImplTransactor ) UpdateOrgStatus ( opts * bind . TransactOpts , _orgId string , _action * big . Int , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . contract . Transact ( opts , "updateOrgStatus" , _orgId , _action , _caller )
2019-03-28 03:06:24 -07:00
}
2019-04-01 03:22:41 -07:00
// UpdateOrgStatus is a paid mutator transaction binding the contract method 0x3cf5f33b.
2019-03-28 03:06:24 -07:00
//
2019-05-12 23:15:09 -07:00
// Solidity: function updateOrgStatus(_orgId string, _action uint256, _caller address) returns()
func ( _PermImpl * PermImplSession ) UpdateOrgStatus ( _orgId string , _action * big . Int , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . Contract . UpdateOrgStatus ( & _PermImpl . TransactOpts , _orgId , _action , _caller )
2019-03-28 03:06:24 -07:00
}
2019-04-01 03:22:41 -07:00
// UpdateOrgStatus is a paid mutator transaction binding the contract method 0x3cf5f33b.
2019-03-28 03:06:24 -07:00
//
2019-05-12 23:15:09 -07:00
// Solidity: function updateOrgStatus(_orgId string, _action uint256, _caller address) returns()
func ( _PermImpl * PermImplTransactorSession ) UpdateOrgStatus ( _orgId string , _action * big . Int , _caller common . Address ) ( * types . Transaction , error ) {
return _PermImpl . Contract . UpdateOrgStatus ( & _PermImpl . TransactOpts , _orgId , _action , _caller )
2019-03-28 03:06:24 -07:00
}
2019-07-30 01:56:44 -07:00
// PermImplPermissionsInitializedIterator is returned from FilterPermissionsInitialized and is used to iterate over the raw logs and unpacked data for PermissionsInitialized events raised by the PermImpl contract.
type PermImplPermissionsInitializedIterator struct {
Event * PermImplPermissionsInitialized // Event containing the contract specifics and raw log
contract * bind . BoundContract // Generic contract to use for unpacking event data
event string // Event name to use for unpacking event data
logs chan types . Log // Log channel receiving the found contract events
sub ethereum . Subscription // Subscription for errors, completion and termination
done bool // Whether the subscription completed delivering logs
fail error // Occurred error to stop iteration
}
// Next advances the iterator to the subsequent event, returning whether there
// are any more events found. In case of a retrieval or parsing error, false is
// returned and Error() can be queried for the exact failure.
func ( it * PermImplPermissionsInitializedIterator ) Next ( ) bool {
// If the iterator failed, stop iterating
if it . fail != nil {
return false
}
// If the iterator completed, deliver directly whatever's available
if it . done {
select {
case log := <- it . logs :
it . Event = new ( PermImplPermissionsInitialized )
if err := it . contract . UnpackLog ( it . Event , it . event , log ) ; err != nil {
it . fail = err
return false
}
it . Event . Raw = log
return true
default :
return false
}
}
// Iterator still in progress, wait for either a data or an error event
select {
case log := <- it . logs :
it . Event = new ( PermImplPermissionsInitialized )
if err := it . contract . UnpackLog ( it . Event , it . event , log ) ; err != nil {
it . fail = err
return false
}
it . Event . Raw = log
return true
case err := <- it . sub . Err ( ) :
it . done = true
it . fail = err
return it . Next ( )
}
}
// Error returns any retrieval or parsing error occurred during filtering.
func ( it * PermImplPermissionsInitializedIterator ) Error ( ) error {
return it . fail
}
// Close terminates the iteration process, releasing any pending underlying
// resources.
func ( it * PermImplPermissionsInitializedIterator ) Close ( ) error {
it . sub . Unsubscribe ( )
return nil
}
// PermImplPermissionsInitialized represents a PermissionsInitialized event raised by the PermImpl contract.
type PermImplPermissionsInitialized struct {
NetworkBootStatus bool
Raw types . Log // Blockchain specific contextual infos
}
// FilterPermissionsInitialized is a free log retrieval operation binding the contract event 0x04f651be6fb8fc575d94591e56e9f6e66e33ef23e949765918b3bdae50c617cf.
//
// Solidity: e PermissionsInitialized(_networkBootStatus bool)
func ( _PermImpl * PermImplFilterer ) FilterPermissionsInitialized ( opts * bind . FilterOpts ) ( * PermImplPermissionsInitializedIterator , error ) {
logs , sub , err := _PermImpl . contract . FilterLogs ( opts , "PermissionsInitialized" )
if err != nil {
return nil , err
}
return & PermImplPermissionsInitializedIterator { contract : _PermImpl . contract , event : "PermissionsInitialized" , logs : logs , sub : sub } , nil
}
// WatchPermissionsInitialized is a free log subscription operation binding the contract event 0x04f651be6fb8fc575d94591e56e9f6e66e33ef23e949765918b3bdae50c617cf.
//
// Solidity: e PermissionsInitialized(_networkBootStatus bool)
func ( _PermImpl * PermImplFilterer ) WatchPermissionsInitialized ( opts * bind . WatchOpts , sink chan <- * PermImplPermissionsInitialized ) ( event . Subscription , error ) {
logs , sub , err := _PermImpl . contract . WatchLogs ( opts , "PermissionsInitialized" )
if err != nil {
return nil , err
}
return event . NewSubscription ( func ( quit <- chan struct { } ) error {
defer sub . Unsubscribe ( )
for {
select {
case log := <- logs :
// New log arrived, parse the event and forward to the user
event := new ( PermImplPermissionsInitialized )
if err := _PermImpl . contract . UnpackLog ( event , "PermissionsInitialized" , log ) ; err != nil {
return err
}
event . Raw = log
select {
case sink <- event :
case err := <- sub . Err ( ) :
return err
case <- quit :
return nil
}
case err := <- sub . Err ( ) :
return err
case <- quit :
return nil
}
}
} ) , nil
}