github.com/ConsenSys/Quorum@v20.10.0+incompatible/permission/bind/permission_interface.go (about) 1 // Code generated - DO NOT EDIT. 2 // This file is a generated binding and any manual changes will be lost. 3 4 package permission 5 6 import ( 7 "math/big" 8 "strings" 9 10 ethereum "github.com/ethereum/go-ethereum" 11 "github.com/ethereum/go-ethereum/accounts/abi" 12 "github.com/ethereum/go-ethereum/accounts/abi/bind" 13 "github.com/ethereum/go-ethereum/common" 14 "github.com/ethereum/go-ethereum/core/types" 15 "github.com/ethereum/go-ethereum/event" 16 ) 17 18 // Reference imports to suppress errors if they are not otherwise used. 19 var ( 20 _ = big.NewInt 21 _ = strings.NewReader 22 _ = ethereum.NotFound 23 _ = abi.U256 24 _ = bind.Bind 25 _ = common.Big1 26 _ = types.BloomLookup 27 _ = event.NewSubscription 28 ) 29 30 // PermInterfaceABI is the input ABI used to generate the binding from. 31 const PermInterfaceABI = "[{\"constant\":true,\"inputs\":[],\"name\":\"getPermissionsImpl\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_orgId\",\"type\":\"string\"},{\"name\":\"_enodeId\",\"type\":\"string\"},{\"name\":\"_action\",\"type\":\"uint256\"}],\"name\":\"updateNodeStatus\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_orgId\",\"type\":\"string\"},{\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"approveAdminRole\",\"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\":\"_account\",\"type\":\"address\"},{\"name\":\"_orgId\",\"type\":\"string\"},{\"name\":\"_roleId\",\"type\":\"string\"}],\"name\":\"assignAccountRole\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_orgId\",\"type\":\"string\"},{\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"approveBlacklistedAccountRecovery\",\"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\":\"assignAdminRole\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"updateNetworkBootStatus\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"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\":\"_pOrgId\",\"type\":\"string\"},{\"name\":\"_orgId\",\"type\":\"string\"},{\"name\":\"_enodeId\",\"type\":\"string\"}],\"name\":\"addSubOrg\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_acct\",\"type\":\"address\"}],\"name\":\"addAdminAccount\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_permImplementation\",\"type\":\"address\"}],\"name\":\"setPermImplementation\",\"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\":\"addNewRole\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_orgId\",\"type\":\"string\"},{\"name\":\"_enodeId\",\"type\":\"string\"}],\"name\":\"approveBlacklistedNodeRecovery\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_orgId\",\"type\":\"string\"},{\"name\":\"_action\",\"type\":\"uint256\"}],\"name\":\"approveOrgStatus\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_account\",\"type\":\"address\"},{\"name\":\"_orgId\",\"type\":\"string\"}],\"name\":\"validateAccount\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_orgId\",\"type\":\"string\"},{\"name\":\"_enodeId\",\"type\":\"string\"},{\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"approveOrg\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_orgId\",\"type\":\"string\"},{\"name\":\"_account\",\"type\":\"address\"},{\"name\":\"_action\",\"type\":\"uint256\"}],\"name\":\"updateAccountStatus\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_orgId\",\"type\":\"string\"},{\"name\":\"_enodeId\",\"type\":\"string\"}],\"name\":\"startBlacklistedNodeRecovery\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_orgId\",\"type\":\"string\"},{\"name\":\"_enodeId\",\"type\":\"string\"},{\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"addOrg\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_account\",\"type\":\"address\"},{\"name\":\"_orgId\",\"type\":\"string\"}],\"name\":\"isOrgAdmin\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_breadth\",\"type\":\"uint256\"},{\"name\":\"_depth\",\"type\":\"uint256\"}],\"name\":\"init\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_roleId\",\"type\":\"string\"},{\"name\":\"_orgId\",\"type\":\"string\"}],\"name\":\"removeRole\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_orgId\",\"type\":\"string\"},{\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"startBlacklistedAccountRecovery\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_orgId\",\"type\":\"string\"},{\"name\":\"_enodeId\",\"type\":\"string\"}],\"name\":\"addNode\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_orgId\",\"type\":\"string\"},{\"name\":\"_action\",\"type\":\"uint256\"}],\"name\":\"updateOrgStatus\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"isNetworkAdmin\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_orgId\",\"type\":\"string\"}],\"name\":\"getPendingOp\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"},{\"name\":\"\",\"type\":\"string\"},{\"name\":\"\",\"type\":\"address\"},{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"name\":\"_permImplUpgradeable\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"}]" 32 33 // PermInterfaceBin is the compiled bytecode used for deploying new contracts. 34 var PermInterfaceBin = "0x608060405234801561001057600080fd5b506040516020806127ff8339810180604052602081101561003057600080fd5b505160028054600160a060020a031916600160a060020a0390921691909117905561279f806100606000396000f3fe608060405234801561001057600080fd5b50600436106101d35760003560e060020a900480635adbfa7a116101085780639bd38101116100a6578063a97a440611610075578063a97a440614610f54578063bb3b6e8014611012578063d1aa0c2014611080578063f346a3a7146110a6576101d3565b80639bd3810114610d7e578063a5843f0814610dfc578063a634301214610e1f578063a97914bf14610edd576101d3565b80637e461258116100e25780637e46125814610ab557806384b7a84a14610b7c5780638cb58ef314610bf95780638f362a3e14610cb7576101d3565b80635adbfa7a1461090b5780635be9672c146109c95780636b568d7614610a37576101d3565b806343de646c116101755780634cff819e1161014f5780634cff819e146106e35780634fe57e7a146107f1578063511bbd9f1461081757806351f604c31461083d576101d3565b806343de646c146105f457806344478e79146106bf5780634cbfa82e146106db576101d3565b80631b610220116101b15780631b610220146103335780632f7f0a12146104415780633e239b231461050f5780633f25c28814610586576101d3565b806303ed6933146101d85780630cc50146146101fc57806316724c44146102bc575b600080fd5b6101e0611212565b60408051600160a060020a039092168252519081900360200190f35b6102ba6004803603606081101561021257600080fd5b810190602081018135602060020a81111561022c57600080fd5b82018360208201111561023e57600080fd5b803590602001918460018302840111602060020a8311171561025f57600080fd5b919390929091602081019035602060020a81111561027c57600080fd5b82018360208201111561028e57600080fd5b803590602001918460018302840111602060020a831117156102af57600080fd5b919350915035611221565b005b6102ba600480360360408110156102d257600080fd5b810190602081018135602060020a8111156102ec57600080fd5b8201836020820111156102fe57600080fd5b803590602001918460018302840111602060020a8311171561031f57600080fd5b919350915035600160a060020a0316611314565b6102ba6004803603606081101561034957600080fd5b810190602081018135602060020a81111561036357600080fd5b82018360208201111561037557600080fd5b803590602001918460018302840111602060020a8311171561039657600080fd5b919390929091602081019035602060020a8111156103b357600080fd5b8201836020820111156103c557600080fd5b803590602001918460018302840111602060020a831117156103e657600080fd5b919390929091602081019035602060020a81111561040357600080fd5b82018360208201111561041557600080fd5b803590602001918460018302840111602060020a8311171561043657600080fd5b5090925090506113d9565b6102ba6004803603606081101561045757600080fd5b600160a060020a038235169190810190604081016020820135602060020a81111561048157600080fd5b82018360208201111561049357600080fd5b803590602001918460018302840111602060020a831117156104b457600080fd5b919390929091602081019035602060020a8111156104d157600080fd5b8201836020820111156104e357600080fd5b803590602001918460018302840111602060020a8311171561050457600080fd5b5090925090506114e7565b6102ba6004803603604081101561052557600080fd5b810190602081018135602060020a81111561053f57600080fd5b82018360208201111561055157600080fd5b803590602001918460018302840111602060020a8311171561057257600080fd5b919350915035600160a060020a03166115bf565b6102ba6004803603602081101561059c57600080fd5b810190602081018135602060020a8111156105b657600080fd5b8201836020820111156105c857600080fd5b803590602001918460018302840111602060020a831117156105e957600080fd5b509092509050611667565b6102ba6004803603606081101561060a57600080fd5b810190602081018135602060020a81111561062457600080fd5b82018360208201111561063657600080fd5b803590602001918460018302840111602060020a8311171561065757600080fd5b91939092600160a060020a0383351692604081019060200135602060020a81111561068157600080fd5b82018360208201111561069357600080fd5b803590602001918460018302840111602060020a831117156106b457600080fd5b509092509050611713565b6106c76117e8565b604080519115158252519081900360200190f35b6106c761186d565b6102ba600480360360608110156106f957600080fd5b810190602081018135602060020a81111561071357600080fd5b82018360208201111561072557600080fd5b803590602001918460018302840111602060020a8311171561074657600080fd5b919390929091602081019035602060020a81111561076357600080fd5b82018360208201111561077557600080fd5b803590602001918460018302840111602060020a8311171561079657600080fd5b919390929091602081019035602060020a8111156107b357600080fd5b8201836020820111156107c557600080fd5b803590602001918460018302840111602060020a831117156107e657600080fd5b5090925090506118d3565b6102ba6004803603602081101561080757600080fd5b5035600160a060020a03166119ca565b6102ba6004803603602081101561082d57600080fd5b5035600160a060020a0316611a49565b6102ba600480360360a081101561085357600080fd5b810190602081018135602060020a81111561086d57600080fd5b82018360208201111561087f57600080fd5b803590602001918460018302840111602060020a831117156108a057600080fd5b919390929091602081019035602060020a8111156108bd57600080fd5b8201836020820111156108cf57600080fd5b803590602001918460018302840111602060020a831117156108f057600080fd5b91935091508035906020810135151590604001351515611af1565b6102ba6004803603604081101561092157600080fd5b810190602081018135602060020a81111561093b57600080fd5b82018360208201111561094d57600080fd5b803590602001918460018302840111602060020a8311171561096e57600080fd5b919390929091602081019035602060020a81111561098b57600080fd5b82018360208201111561099d57600080fd5b803590602001918460018302840111602060020a831117156109be57600080fd5b509092509050611bfc565b6102ba600480360360408110156109df57600080fd5b810190602081018135602060020a8111156109f957600080fd5b820183602082011115610a0b57600080fd5b803590602001918460018302840111602060020a83111715610a2c57600080fd5b919350915035611ce4565b6106c760048036036040811015610a4d57600080fd5b600160a060020a038235169190810190604081016020820135602060020a811115610a7757600080fd5b820183602082011115610a8957600080fd5b803590602001918460018302840111602060020a83111715610aaa57600080fd5b509092509050611d87565b6102ba60048036036060811015610acb57600080fd5b810190602081018135602060020a811115610ae557600080fd5b820183602082011115610af757600080fd5b803590602001918460018302840111602060020a83111715610b1857600080fd5b919390929091602081019035602060020a811115610b3557600080fd5b820183602082011115610b4757600080fd5b803590602001918460018302840111602060020a83111715610b6857600080fd5b919350915035600160a060020a0316611e55565b6102ba60048036036060811015610b9257600080fd5b810190602081018135602060020a811115610bac57600080fd5b820183602082011115610bbe57600080fd5b803590602001918460018302840111602060020a83111715610bdf57600080fd5b9193509150600160a060020a038135169060200135611f2a565b6102ba60048036036040811015610c0f57600080fd5b810190602081018135602060020a811115610c2957600080fd5b820183602082011115610c3b57600080fd5b803590602001918460018302840111602060020a83111715610c5c57600080fd5b919390929091602081019035602060020a811115610c7957600080fd5b820183602082011115610c8b57600080fd5b803590602001918460018302840111602060020a83111715610cac57600080fd5b509092509050611fda565b6102ba60048036036060811015610ccd57600080fd5b810190602081018135602060020a811115610ce757600080fd5b820183602082011115610cf957600080fd5b803590602001918460018302840111602060020a83111715610d1a57600080fd5b919390929091602081019035602060020a811115610d3757600080fd5b820183602082011115610d4957600080fd5b803590602001918460018302840111602060020a83111715610d6a57600080fd5b919350915035600160a060020a03166120a4565b6106c760048036036040811015610d9457600080fd5b600160a060020a038235169190810190604081016020820135602060020a811115610dbe57600080fd5b820183602082011115610dd057600080fd5b803590602001918460018302840111602060020a83111715610df157600080fd5b509092509050612179565b6102ba60048036036040811015610e1257600080fd5b5080359060200135612213565b6102ba60048036036040811015610e3557600080fd5b810190602081018135602060020a811115610e4f57600080fd5b820183602082011115610e6157600080fd5b803590602001918460018302840111602060020a83111715610e8257600080fd5b919390929091602081019035602060020a811115610e9f57600080fd5b820183602082011115610eb157600080fd5b803590602001918460018302840111602060020a83111715610ed257600080fd5b50909250905061227b565b6102ba60048036036040811015610ef357600080fd5b810190602081018135602060020a811115610f0d57600080fd5b820183602082011115610f1f57600080fd5b803590602001918460018302840111602060020a83111715610f4057600080fd5b919350915035600160a060020a0316612345565b6102ba60048036036040811015610f6a57600080fd5b810190602081018135602060020a811115610f8457600080fd5b820183602082011115610f9657600080fd5b803590602001918460018302840111602060020a83111715610fb757600080fd5b919390929091602081019035602060020a811115610fd457600080fd5b820183602082011115610fe657600080fd5b803590602001918460018302840111602060020a8311171561100757600080fd5b5090925090506123ed565b6102ba6004803603604081101561102857600080fd5b810190602081018135602060020a81111561104257600080fd5b82018360208201111561105457600080fd5b803590602001918460018302840111602060020a8311171561107557600080fd5b9193509150356124b7565b6106c76004803603602081101561109657600080fd5b5035600160a060020a031661255a565b611114600480360360208110156110bc57600080fd5b810190602081018135602060020a8111156110d657600080fd5b8201836020820111156110e857600080fd5b803590602001918460018302840111602060020a8311171561110957600080fd5b5090925090506125f3565b60405180806020018060200185600160a060020a0316600160a060020a03168152602001848152602001838103835287818151815260200191508051906020019080838360005b8381101561117357818101518382015260200161115b565b50505050905090810190601f1680156111a05780820380516001836020036101000a031916815260200191505b50838103825286518152865160209182019188019080838360005b838110156111d35781810151838201526020016111bb565b50505050905090810190601f1680156112005780820380516001836020036101000a031916815260200191505b50965050505050505060405180910390f35b600054600160a060020a031690565b6000546040517fdbfad71100000000000000000000000000000000000000000000000000000000815260448101839052336064820181905260806004830190815260848301889052600160a060020a039093169263dbfad711928992899289928992899290918190602481019060a401898980828437600083820152601f01601f191690910184810383528781526020019050878780828437600081840152601f19601f82011690508083019250505098505050505050505050600060405180830381600087803b1580156112f557600080fd5b505af1158015611309573d6000803e3d6000fd5b505050505050505050565b6000546040517f88843041000000000000000000000000000000000000000000000000000000008152600160a060020a03838116602483015233604483018190526060600484019081526064840187905291909316926388843041928792879287929091908190608401868680828437600081840152601f19601f82011690508083019250505095505050505050600060405180830381600087803b1580156113bc57600080fd5b505af11580156113d0573d6000803e3d6000fd5b50505050505050565b6000546040517f1b61022000000000000000000000000000000000000000000000000000000000815260606004820190815260648201889052600160a060020a0390921691631b610220918991899189918991899189918190602481019060448101906084018a8a80828437600083820152601f01601f191690910185810384528881526020019050888880828437600083820152601f01601f191690910185810383528681526020019050868680828437600081840152601f19601f8201169050808301925050509950505050505050505050600060405180830381600087803b1580156114c757600080fd5b505af11580156114db573d6000803e3d6000fd5b50505050505050505050565b6000546040517f8baa8191000000000000000000000000000000000000000000000000000000008152600160a060020a03878116600483019081523360648401819052608060248501908152608485018990529290941693638baa8191938a938a938a938a938a9391929190604481019060a401888880828437600083820152601f01601f191690910184810383528681526020019050868680828437600081840152601f19601f82011690508083019250505098505050505050505050600060405180830381600087803b1580156112f557600080fd5b6000546040517f4b20f45f000000000000000000000000000000000000000000000000000000008152600160a060020a0383811660248301523360448301819052606060048401908152606484018790529190931692634b20f45f928792879287929091908190608401868680828437600081840152601f19601f82011690508083019250505095505050505050600060405180830381600087803b1580156113bc57600080fd5b6000546040517f3f25c28800000000000000000000000000000000000000000000000000000000815260206004820190815260248201849052600160a060020a0390921691633f25c28891859185918190604401848480828437600081840152601f19601f8201169050808301925050509350505050600060405180830381600087803b1580156116f757600080fd5b505af115801561170b573d6000803e3d6000fd5b505050505050565b6000546040517f404bf3eb000000000000000000000000000000000000000000000000000000008152600160a060020a038581166024830152336064830181905260806004840190815260848401899052919093169263404bf3eb9289928992899289928992918190604481019060a401898980828437600083820152601f01601f191690910184810383528681526020019050868680828437600081840152601f19601f82011690508083019250505098505050505050505050600060405180830381600087803b1580156112f557600080fd5b60008060009054906101000a9004600160a060020a0316600160a060020a03166344478e796040518163ffffffff1660e060020a028152600401602060405180830381600087803b15801561183c57600080fd5b505af1158015611850573d6000803e3d6000fd5b505050506040513d602081101561186657600080fd5b5051905090565b60008060009054906101000a9004600160a060020a0316600160a060020a0316634cbfa82e6040518163ffffffff1660e060020a02815260040160206040518083038186803b1580156118bf57600080fd5b505afa158015611850573d6000803e3d6000fd5b6000546040517fa64d2860000000000000000000000000000000000000000000000000000000008152336064820181905260806004830190815260848301899052600160a060020a039093169263a64d2860928a928a928a928a928a928a9281906024810190604481019060a4018b8b80828437600083820152601f01601f191690910185810384528981526020019050898980828437600083820152601f01601f191690910185810383528781526020019050878780828437600081840152601f19601f8201169050808301925050509a5050505050505050505050600060405180830381600087803b1580156114c757600080fd5b60008054604080517f4fe57e7a000000000000000000000000000000000000000000000000000000008152600160a060020a03858116600483015291519190921692634fe57e7a926024808201939182900301818387803b158015611a2e57600080fd5b505af1158015611a42573d6000803e3d6000fd5b5050505050565b600254600160a060020a03163314611ac257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f696e76616c69642063616c6c6572000000000000000000000000000000000000604482015290519081900360640190fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6000546040517f1b04c27600000000000000000000000000000000000000000000000000000000815260448101859052831515606482015282151560848201523360a4820181905260c06004830190815260c483018a9052600160a060020a0390931692631b04c276928b928b928b928b928b928b928b9291908190602481019060e4018b8b80828437600083820152601f01601f191690910184810383528981526020019050898980828437600081840152601f19601f8201169050808301925050509a5050505050505050505050600060405180830381600087803b158015611bdb57600080fd5b505af1158015611bef573d6000803e3d6000fd5b5050505050505050505050565b6000546040517f655a8ef5000000000000000000000000000000000000000000000000000000008152336044820181905260606004830190815260648301879052600160a060020a039093169263655a8ef5928892889288928892919081906024810190608401888880828437600083820152601f01601f191690910184810383528681526020019050868680828437600081840152601f19601f820116905080830192505050975050505050505050600060405180830381600087803b158015611cc657600080fd5b505af1158015611cda573d6000803e3d6000fd5b5050505050505050565b6000546040517fb554656400000000000000000000000000000000000000000000000000000000815260248101839052336044820181905260606004830190815260648301869052600160a060020a039093169263b5546564928792879287928190608401868680828437600081840152601f19601f82011690508083019250505095505050505050600060405180830381600087803b1580156113bc57600080fd5b60008054604080517f6b568d76000000000000000000000000000000000000000000000000000000008152600160a060020a03878116600483019081526024830193845260448301879052931692636b568d76928892889288929091606401848480828437600083820152604051601f909101601f1916909201965060209550909350505081840390508186803b158015611e2157600080fd5b505afa158015611e35573d6000803e3d6000fd5b505050506040513d6020811015611e4b57600080fd5b5051949350505050565b6000546040517f3bc07dea000000000000000000000000000000000000000000000000000000008152600160a060020a0383811660448301523360648301819052608060048401908152608484018990529190931692633bc07dea9289928992899289928992918190602481019060a401898980828437600083820152601f01601f191690910184810383528781526020019050878780828437600081840152601f19601f82011690508083019250505098505050505050505050600060405180830381600087803b1580156112f557600080fd5b6000546040517f04e81f1e000000000000000000000000000000000000000000000000000000008152600160a060020a0384811660248301526044820184905233606483018190526080600484019081526084840188905291909316926304e81f1e92889288928892889290819060a401878780828437600081840152601f19601f8201169050808301925050509650505050505050600060405180830381600087803b158015611cc657600080fd5b6000546040517fc3dc8e09000000000000000000000000000000000000000000000000000000008152336044820181905260606004830190815260648301879052600160a060020a039093169263c3dc8e09928892889288928892919081906024810190608401888880828437600083820152601f01601f191690910184810383528681526020019050868680828437600081840152601f19601f820116905080830192505050975050505050505050600060405180830381600087803b158015611cc657600080fd5b6000546040517ff922f802000000000000000000000000000000000000000000000000000000008152600160a060020a038381166044830152336064830181905260806004840190815260848401899052919093169263f922f8029289928992899289928992918190602481019060a401898980828437600083820152601f01601f191690910184810383528781526020019050878780828437600081840152601f19601f82011690508083019250505098505050505050505050600060405180830381600087803b1580156112f557600080fd5b60008054604080517f9bd38101000000000000000000000000000000000000000000000000000000008152600160a060020a03878116600483019081526024830193845260448301879052931692639bd38101928892889288929091606401848480828437600083820152604051601f909101601f1916909201965060209550909350505081840390508186803b158015611e2157600080fd5b60008054604080517fa5843f0800000000000000000000000000000000000000000000000000000000815260048101869052602481018590529051600160a060020a039092169263a5843f089260448084019382900301818387803b1580156116f757600080fd5b6000546040517f5ca5adbe000000000000000000000000000000000000000000000000000000008152336044820181905260606004830190815260648301879052600160a060020a0390931692635ca5adbe928892889288928892919081906024810190608401888880828437600083820152601f01601f191690910184810383528681526020019050868680828437600081840152601f19601f820116905080830192505050975050505050505050600060405180830381600087803b158015611cc657600080fd5b6000546040517f1c249912000000000000000000000000000000000000000000000000000000008152600160a060020a0383811660248301523360448301819052606060048401908152606484018790529190931692631c249912928792879287929091908190608401868680828437600081840152601f19601f82011690508083019250505095505050505050600060405180830381600087803b1580156113bc57600080fd5b6000546040517f59a260a3000000000000000000000000000000000000000000000000000000008152336044820181905260606004830190815260648301879052600160a060020a03909316926359a260a3928892889288928892919081906024810190608401888880828437600083820152601f01601f191690910184810383528681526020019050868680828437600081840152601f19601f820116905080830192505050975050505050505050600060405180830381600087803b158015611cc657600080fd5b6000546040517f3cf5f33b00000000000000000000000000000000000000000000000000000000815260248101839052336044820181905260606004830190815260648301869052600160a060020a0390931692633cf5f33b928792879287928190608401868680828437600081840152601f19601f82011690508083019250505095505050505050600060405180830381600087803b1580156113bc57600080fd5b60008054604080517fd1aa0c20000000000000000000000000000000000000000000000000000000008152600160a060020a0385811660048301529151919092169163d1aa0c20916024808301926020929190829003018186803b1580156125c157600080fd5b505afa1580156125d5573d6000803e3d6000fd5b505050506040513d60208110156125eb57600080fd5b505192915050565b600080546040517ff346a3a700000000000000000000000000000000000000000000000000000000815260206004820190815260248201859052606093849390928392600160a060020a039092169163f346a3a791899189918190604401848480828437600081840152601f19601f820116905080830192505050935050505060006040518083038186803b15801561268b57600080fd5b505afa15801561269f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260808110156126c857600080fd5b810190808051602060020a8111156126df57600080fd5b820160208101848111156126f257600080fd5b8151602060020a81118282018710171561270b57600080fd5b50509291906020018051602060020a81111561272657600080fd5b8201602081018481111561273957600080fd5b8151602060020a81118282018710171561275257600080fd5b50506020820151604090920151949b909a509098509296509194505050505056fea165627a7a72305820012928785ab44384d889eb56390d7766c715e322f05d70cc2584d45b928233ce0029" 35 36 // DeployPermInterface deploys a new Ethereum contract, binding an instance of PermInterface to it. 37 func DeployPermInterface(auth *bind.TransactOpts, backend bind.ContractBackend, _permImplUpgradeable common.Address) (common.Address, *types.Transaction, *PermInterface, error) { 38 parsed, err := abi.JSON(strings.NewReader(PermInterfaceABI)) 39 if err != nil { 40 return common.Address{}, nil, nil, err 41 } 42 43 address, tx, contract, err := bind.DeployContract(auth, parsed, common.FromHex(PermInterfaceBin), backend, _permImplUpgradeable) 44 if err != nil { 45 return common.Address{}, nil, nil, err 46 } 47 return address, tx, &PermInterface{PermInterfaceCaller: PermInterfaceCaller{contract: contract}, PermInterfaceTransactor: PermInterfaceTransactor{contract: contract}, PermInterfaceFilterer: PermInterfaceFilterer{contract: contract}}, nil 48 } 49 50 // PermInterface is an auto generated Go binding around an Ethereum contract. 51 type PermInterface struct { 52 PermInterfaceCaller // Read-only binding to the contract 53 PermInterfaceTransactor // Write-only binding to the contract 54 PermInterfaceFilterer // Log filterer for contract events 55 } 56 57 // PermInterfaceCaller is an auto generated read-only Go binding around an Ethereum contract. 58 type PermInterfaceCaller struct { 59 contract *bind.BoundContract // Generic contract wrapper for the low level calls 60 } 61 62 // PermInterfaceTransactor is an auto generated write-only Go binding around an Ethereum contract. 63 type PermInterfaceTransactor struct { 64 contract *bind.BoundContract // Generic contract wrapper for the low level calls 65 } 66 67 // PermInterfaceFilterer is an auto generated log filtering Go binding around an Ethereum contract events. 68 type PermInterfaceFilterer struct { 69 contract *bind.BoundContract // Generic contract wrapper for the low level calls 70 } 71 72 // PermInterfaceSession is an auto generated Go binding around an Ethereum contract, 73 // with pre-set call and transact options. 74 type PermInterfaceSession struct { 75 Contract *PermInterface // Generic contract binding to set the session for 76 CallOpts bind.CallOpts // Call options to use throughout this session 77 TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session 78 } 79 80 // PermInterfaceCallerSession is an auto generated read-only Go binding around an Ethereum contract, 81 // with pre-set call options. 82 type PermInterfaceCallerSession struct { 83 Contract *PermInterfaceCaller // Generic contract caller binding to set the session for 84 CallOpts bind.CallOpts // Call options to use throughout this session 85 } 86 87 // PermInterfaceTransactorSession is an auto generated write-only Go binding around an Ethereum contract, 88 // with pre-set transact options. 89 type PermInterfaceTransactorSession struct { 90 Contract *PermInterfaceTransactor // Generic contract transactor binding to set the session for 91 TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session 92 } 93 94 // PermInterfaceRaw is an auto generated low-level Go binding around an Ethereum contract. 95 type PermInterfaceRaw struct { 96 Contract *PermInterface // Generic contract binding to access the raw methods on 97 } 98 99 // PermInterfaceCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract. 100 type PermInterfaceCallerRaw struct { 101 Contract *PermInterfaceCaller // Generic read-only contract binding to access the raw methods on 102 } 103 104 // PermInterfaceTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract. 105 type PermInterfaceTransactorRaw struct { 106 Contract *PermInterfaceTransactor // Generic write-only contract binding to access the raw methods on 107 } 108 109 // NewPermInterface creates a new instance of PermInterface, bound to a specific deployed contract. 110 func NewPermInterface(address common.Address, backend bind.ContractBackend) (*PermInterface, error) { 111 contract, err := bindPermInterface(address, backend, backend, backend) 112 if err != nil { 113 return nil, err 114 } 115 return &PermInterface{PermInterfaceCaller: PermInterfaceCaller{contract: contract}, PermInterfaceTransactor: PermInterfaceTransactor{contract: contract}, PermInterfaceFilterer: PermInterfaceFilterer{contract: contract}}, nil 116 } 117 118 // NewPermInterfaceCaller creates a new read-only instance of PermInterface, bound to a specific deployed contract. 119 func NewPermInterfaceCaller(address common.Address, caller bind.ContractCaller) (*PermInterfaceCaller, error) { 120 contract, err := bindPermInterface(address, caller, nil, nil) 121 if err != nil { 122 return nil, err 123 } 124 return &PermInterfaceCaller{contract: contract}, nil 125 } 126 127 // NewPermInterfaceTransactor creates a new write-only instance of PermInterface, bound to a specific deployed contract. 128 func NewPermInterfaceTransactor(address common.Address, transactor bind.ContractTransactor) (*PermInterfaceTransactor, error) { 129 contract, err := bindPermInterface(address, nil, transactor, nil) 130 if err != nil { 131 return nil, err 132 } 133 return &PermInterfaceTransactor{contract: contract}, nil 134 } 135 136 // NewPermInterfaceFilterer creates a new log filterer instance of PermInterface, bound to a specific deployed contract. 137 func NewPermInterfaceFilterer(address common.Address, filterer bind.ContractFilterer) (*PermInterfaceFilterer, error) { 138 contract, err := bindPermInterface(address, nil, nil, filterer) 139 if err != nil { 140 return nil, err 141 } 142 return &PermInterfaceFilterer{contract: contract}, nil 143 } 144 145 // bindPermInterface binds a generic wrapper to an already deployed contract. 146 func bindPermInterface(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor, filterer bind.ContractFilterer) (*bind.BoundContract, error) { 147 parsed, err := abi.JSON(strings.NewReader(PermInterfaceABI)) 148 if err != nil { 149 return nil, err 150 } 151 return bind.NewBoundContract(address, parsed, caller, transactor, filterer), nil 152 } 153 154 // Call invokes the (constant) contract method with params as input values and 155 // sets the output to result. The result type might be a single field for simple 156 // returns, a slice of interfaces for anonymous returns and a struct for named 157 // returns. 158 func (_PermInterface *PermInterfaceRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error { 159 return _PermInterface.Contract.PermInterfaceCaller.contract.Call(opts, result, method, params...) 160 } 161 162 // Transfer initiates a plain transaction to move funds to the contract, calling 163 // its default method if one is available. 164 func (_PermInterface *PermInterfaceRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) { 165 return _PermInterface.Contract.PermInterfaceTransactor.contract.Transfer(opts) 166 } 167 168 // Transact invokes the (paid) contract method with params as input values. 169 func (_PermInterface *PermInterfaceRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) { 170 return _PermInterface.Contract.PermInterfaceTransactor.contract.Transact(opts, method, params...) 171 } 172 173 // Call invokes the (constant) contract method with params as input values and 174 // sets the output to result. The result type might be a single field for simple 175 // returns, a slice of interfaces for anonymous returns and a struct for named 176 // returns. 177 func (_PermInterface *PermInterfaceCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error { 178 return _PermInterface.Contract.contract.Call(opts, result, method, params...) 179 } 180 181 // Transfer initiates a plain transaction to move funds to the contract, calling 182 // its default method if one is available. 183 func (_PermInterface *PermInterfaceTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) { 184 return _PermInterface.Contract.contract.Transfer(opts) 185 } 186 187 // Transact invokes the (paid) contract method with params as input values. 188 func (_PermInterface *PermInterfaceTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) { 189 return _PermInterface.Contract.contract.Transact(opts, method, params...) 190 } 191 192 // GetNetworkBootStatus is a free data retrieval call binding the contract method 0x4cbfa82e. 193 // 194 // Solidity: function getNetworkBootStatus() constant returns(bool) 195 func (_PermInterface *PermInterfaceCaller) GetNetworkBootStatus(opts *bind.CallOpts) (bool, error) { 196 var ( 197 ret0 = new(bool) 198 ) 199 out := ret0 200 err := _PermInterface.contract.Call(opts, out, "getNetworkBootStatus") 201 return *ret0, err 202 } 203 204 // GetNetworkBootStatus is a free data retrieval call binding the contract method 0x4cbfa82e. 205 // 206 // Solidity: function getNetworkBootStatus() constant returns(bool) 207 func (_PermInterface *PermInterfaceSession) GetNetworkBootStatus() (bool, error) { 208 return _PermInterface.Contract.GetNetworkBootStatus(&_PermInterface.CallOpts) 209 } 210 211 // GetNetworkBootStatus is a free data retrieval call binding the contract method 0x4cbfa82e. 212 // 213 // Solidity: function getNetworkBootStatus() constant returns(bool) 214 func (_PermInterface *PermInterfaceCallerSession) GetNetworkBootStatus() (bool, error) { 215 return _PermInterface.Contract.GetNetworkBootStatus(&_PermInterface.CallOpts) 216 } 217 218 // GetPendingOp is a free data retrieval call binding the contract method 0xf346a3a7. 219 // 220 // Solidity: function getPendingOp(string _orgId) constant returns(string, string, address, uint256) 221 func (_PermInterface *PermInterfaceCaller) GetPendingOp(opts *bind.CallOpts, _orgId string) (string, string, common.Address, *big.Int, error) { 222 var ( 223 ret0 = new(string) 224 ret1 = new(string) 225 ret2 = new(common.Address) 226 ret3 = new(*big.Int) 227 ) 228 out := &[]interface{}{ 229 ret0, 230 ret1, 231 ret2, 232 ret3, 233 } 234 err := _PermInterface.contract.Call(opts, out, "getPendingOp", _orgId) 235 return *ret0, *ret1, *ret2, *ret3, err 236 } 237 238 // GetPendingOp is a free data retrieval call binding the contract method 0xf346a3a7. 239 // 240 // Solidity: function getPendingOp(string _orgId) constant returns(string, string, address, uint256) 241 func (_PermInterface *PermInterfaceSession) GetPendingOp(_orgId string) (string, string, common.Address, *big.Int, error) { 242 return _PermInterface.Contract.GetPendingOp(&_PermInterface.CallOpts, _orgId) 243 } 244 245 // GetPendingOp is a free data retrieval call binding the contract method 0xf346a3a7. 246 // 247 // Solidity: function getPendingOp(string _orgId) constant returns(string, string, address, uint256) 248 func (_PermInterface *PermInterfaceCallerSession) GetPendingOp(_orgId string) (string, string, common.Address, *big.Int, error) { 249 return _PermInterface.Contract.GetPendingOp(&_PermInterface.CallOpts, _orgId) 250 } 251 252 // GetPermissionsImpl is a free data retrieval call binding the contract method 0x03ed6933. 253 // 254 // Solidity: function getPermissionsImpl() constant returns(address) 255 func (_PermInterface *PermInterfaceCaller) GetPermissionsImpl(opts *bind.CallOpts) (common.Address, error) { 256 var ( 257 ret0 = new(common.Address) 258 ) 259 out := ret0 260 err := _PermInterface.contract.Call(opts, out, "getPermissionsImpl") 261 return *ret0, err 262 } 263 264 // GetPermissionsImpl is a free data retrieval call binding the contract method 0x03ed6933. 265 // 266 // Solidity: function getPermissionsImpl() constant returns(address) 267 func (_PermInterface *PermInterfaceSession) GetPermissionsImpl() (common.Address, error) { 268 return _PermInterface.Contract.GetPermissionsImpl(&_PermInterface.CallOpts) 269 } 270 271 // GetPermissionsImpl is a free data retrieval call binding the contract method 0x03ed6933. 272 // 273 // Solidity: function getPermissionsImpl() constant returns(address) 274 func (_PermInterface *PermInterfaceCallerSession) GetPermissionsImpl() (common.Address, error) { 275 return _PermInterface.Contract.GetPermissionsImpl(&_PermInterface.CallOpts) 276 } 277 278 // IsNetworkAdmin is a free data retrieval call binding the contract method 0xd1aa0c20. 279 // 280 // Solidity: function isNetworkAdmin(address _account) constant returns(bool) 281 func (_PermInterface *PermInterfaceCaller) IsNetworkAdmin(opts *bind.CallOpts, _account common.Address) (bool, error) { 282 var ( 283 ret0 = new(bool) 284 ) 285 out := ret0 286 err := _PermInterface.contract.Call(opts, out, "isNetworkAdmin", _account) 287 return *ret0, err 288 } 289 290 // IsNetworkAdmin is a free data retrieval call binding the contract method 0xd1aa0c20. 291 // 292 // Solidity: function isNetworkAdmin(address _account) constant returns(bool) 293 func (_PermInterface *PermInterfaceSession) IsNetworkAdmin(_account common.Address) (bool, error) { 294 return _PermInterface.Contract.IsNetworkAdmin(&_PermInterface.CallOpts, _account) 295 } 296 297 // IsNetworkAdmin is a free data retrieval call binding the contract method 0xd1aa0c20. 298 // 299 // Solidity: function isNetworkAdmin(address _account) constant returns(bool) 300 func (_PermInterface *PermInterfaceCallerSession) IsNetworkAdmin(_account common.Address) (bool, error) { 301 return _PermInterface.Contract.IsNetworkAdmin(&_PermInterface.CallOpts, _account) 302 } 303 304 // IsOrgAdmin is a free data retrieval call binding the contract method 0x9bd38101. 305 // 306 // Solidity: function isOrgAdmin(address _account, string _orgId) constant returns(bool) 307 func (_PermInterface *PermInterfaceCaller) IsOrgAdmin(opts *bind.CallOpts, _account common.Address, _orgId string) (bool, error) { 308 var ( 309 ret0 = new(bool) 310 ) 311 out := ret0 312 err := _PermInterface.contract.Call(opts, out, "isOrgAdmin", _account, _orgId) 313 return *ret0, err 314 } 315 316 // IsOrgAdmin is a free data retrieval call binding the contract method 0x9bd38101. 317 // 318 // Solidity: function isOrgAdmin(address _account, string _orgId) constant returns(bool) 319 func (_PermInterface *PermInterfaceSession) IsOrgAdmin(_account common.Address, _orgId string) (bool, error) { 320 return _PermInterface.Contract.IsOrgAdmin(&_PermInterface.CallOpts, _account, _orgId) 321 } 322 323 // IsOrgAdmin is a free data retrieval call binding the contract method 0x9bd38101. 324 // 325 // Solidity: function isOrgAdmin(address _account, string _orgId) constant returns(bool) 326 func (_PermInterface *PermInterfaceCallerSession) IsOrgAdmin(_account common.Address, _orgId string) (bool, error) { 327 return _PermInterface.Contract.IsOrgAdmin(&_PermInterface.CallOpts, _account, _orgId) 328 } 329 330 // ValidateAccount is a free data retrieval call binding the contract method 0x6b568d76. 331 // 332 // Solidity: function validateAccount(address _account, string _orgId) constant returns(bool) 333 func (_PermInterface *PermInterfaceCaller) ValidateAccount(opts *bind.CallOpts, _account common.Address, _orgId string) (bool, error) { 334 var ( 335 ret0 = new(bool) 336 ) 337 out := ret0 338 err := _PermInterface.contract.Call(opts, out, "validateAccount", _account, _orgId) 339 return *ret0, err 340 } 341 342 // ValidateAccount is a free data retrieval call binding the contract method 0x6b568d76. 343 // 344 // Solidity: function validateAccount(address _account, string _orgId) constant returns(bool) 345 func (_PermInterface *PermInterfaceSession) ValidateAccount(_account common.Address, _orgId string) (bool, error) { 346 return _PermInterface.Contract.ValidateAccount(&_PermInterface.CallOpts, _account, _orgId) 347 } 348 349 // ValidateAccount is a free data retrieval call binding the contract method 0x6b568d76. 350 // 351 // Solidity: function validateAccount(address _account, string _orgId) constant returns(bool) 352 func (_PermInterface *PermInterfaceCallerSession) ValidateAccount(_account common.Address, _orgId string) (bool, error) { 353 return _PermInterface.Contract.ValidateAccount(&_PermInterface.CallOpts, _account, _orgId) 354 } 355 356 // AddAdminAccount is a paid mutator transaction binding the contract method 0x4fe57e7a. 357 // 358 // Solidity: function addAdminAccount(address _acct) returns() 359 func (_PermInterface *PermInterfaceTransactor) AddAdminAccount(opts *bind.TransactOpts, _acct common.Address) (*types.Transaction, error) { 360 return _PermInterface.contract.Transact(opts, "addAdminAccount", _acct) 361 } 362 363 // AddAdminAccount is a paid mutator transaction binding the contract method 0x4fe57e7a. 364 // 365 // Solidity: function addAdminAccount(address _acct) returns() 366 func (_PermInterface *PermInterfaceSession) AddAdminAccount(_acct common.Address) (*types.Transaction, error) { 367 return _PermInterface.Contract.AddAdminAccount(&_PermInterface.TransactOpts, _acct) 368 } 369 370 // AddAdminAccount is a paid mutator transaction binding the contract method 0x4fe57e7a. 371 // 372 // Solidity: function addAdminAccount(address _acct) returns() 373 func (_PermInterface *PermInterfaceTransactorSession) AddAdminAccount(_acct common.Address) (*types.Transaction, error) { 374 return _PermInterface.Contract.AddAdminAccount(&_PermInterface.TransactOpts, _acct) 375 } 376 377 // AddAdminNode is a paid mutator transaction binding the contract method 0x3f25c288. 378 // 379 // Solidity: function addAdminNode(string _enodeId) returns() 380 func (_PermInterface *PermInterfaceTransactor) AddAdminNode(opts *bind.TransactOpts, _enodeId string) (*types.Transaction, error) { 381 return _PermInterface.contract.Transact(opts, "addAdminNode", _enodeId) 382 } 383 384 // AddAdminNode is a paid mutator transaction binding the contract method 0x3f25c288. 385 // 386 // Solidity: function addAdminNode(string _enodeId) returns() 387 func (_PermInterface *PermInterfaceSession) AddAdminNode(_enodeId string) (*types.Transaction, error) { 388 return _PermInterface.Contract.AddAdminNode(&_PermInterface.TransactOpts, _enodeId) 389 } 390 391 // AddAdminNode is a paid mutator transaction binding the contract method 0x3f25c288. 392 // 393 // Solidity: function addAdminNode(string _enodeId) returns() 394 func (_PermInterface *PermInterfaceTransactorSession) AddAdminNode(_enodeId string) (*types.Transaction, error) { 395 return _PermInterface.Contract.AddAdminNode(&_PermInterface.TransactOpts, _enodeId) 396 } 397 398 // AddNewRole is a paid mutator transaction binding the contract method 0x51f604c3. 399 // 400 // Solidity: function addNewRole(string _roleId, string _orgId, uint256 _access, bool _voter, bool _admin) returns() 401 func (_PermInterface *PermInterfaceTransactor) AddNewRole(opts *bind.TransactOpts, _roleId string, _orgId string, _access *big.Int, _voter bool, _admin bool) (*types.Transaction, error) { 402 return _PermInterface.contract.Transact(opts, "addNewRole", _roleId, _orgId, _access, _voter, _admin) 403 } 404 405 // AddNewRole is a paid mutator transaction binding the contract method 0x51f604c3. 406 // 407 // Solidity: function addNewRole(string _roleId, string _orgId, uint256 _access, bool _voter, bool _admin) returns() 408 func (_PermInterface *PermInterfaceSession) AddNewRole(_roleId string, _orgId string, _access *big.Int, _voter bool, _admin bool) (*types.Transaction, error) { 409 return _PermInterface.Contract.AddNewRole(&_PermInterface.TransactOpts, _roleId, _orgId, _access, _voter, _admin) 410 } 411 412 // AddNewRole is a paid mutator transaction binding the contract method 0x51f604c3. 413 // 414 // Solidity: function addNewRole(string _roleId, string _orgId, uint256 _access, bool _voter, bool _admin) returns() 415 func (_PermInterface *PermInterfaceTransactorSession) AddNewRole(_roleId string, _orgId string, _access *big.Int, _voter bool, _admin bool) (*types.Transaction, error) { 416 return _PermInterface.Contract.AddNewRole(&_PermInterface.TransactOpts, _roleId, _orgId, _access, _voter, _admin) 417 } 418 419 // AddNode is a paid mutator transaction binding the contract method 0xa97a4406. 420 // 421 // Solidity: function addNode(string _orgId, string _enodeId) returns() 422 func (_PermInterface *PermInterfaceTransactor) AddNode(opts *bind.TransactOpts, _orgId string, _enodeId string) (*types.Transaction, error) { 423 return _PermInterface.contract.Transact(opts, "addNode", _orgId, _enodeId) 424 } 425 426 // AddNode is a paid mutator transaction binding the contract method 0xa97a4406. 427 // 428 // Solidity: function addNode(string _orgId, string _enodeId) returns() 429 func (_PermInterface *PermInterfaceSession) AddNode(_orgId string, _enodeId string) (*types.Transaction, error) { 430 return _PermInterface.Contract.AddNode(&_PermInterface.TransactOpts, _orgId, _enodeId) 431 } 432 433 // AddNode is a paid mutator transaction binding the contract method 0xa97a4406. 434 // 435 // Solidity: function addNode(string _orgId, string _enodeId) returns() 436 func (_PermInterface *PermInterfaceTransactorSession) AddNode(_orgId string, _enodeId string) (*types.Transaction, error) { 437 return _PermInterface.Contract.AddNode(&_PermInterface.TransactOpts, _orgId, _enodeId) 438 } 439 440 // AddOrg is a paid mutator transaction binding the contract method 0x8f362a3e. 441 // 442 // Solidity: function addOrg(string _orgId, string _enodeId, address _account) returns() 443 func (_PermInterface *PermInterfaceTransactor) AddOrg(opts *bind.TransactOpts, _orgId string, _enodeId string, _account common.Address) (*types.Transaction, error) { 444 return _PermInterface.contract.Transact(opts, "addOrg", _orgId, _enodeId, _account) 445 } 446 447 // AddOrg is a paid mutator transaction binding the contract method 0x8f362a3e. 448 // 449 // Solidity: function addOrg(string _orgId, string _enodeId, address _account) returns() 450 func (_PermInterface *PermInterfaceSession) AddOrg(_orgId string, _enodeId string, _account common.Address) (*types.Transaction, error) { 451 return _PermInterface.Contract.AddOrg(&_PermInterface.TransactOpts, _orgId, _enodeId, _account) 452 } 453 454 // AddOrg is a paid mutator transaction binding the contract method 0x8f362a3e. 455 // 456 // Solidity: function addOrg(string _orgId, string _enodeId, address _account) returns() 457 func (_PermInterface *PermInterfaceTransactorSession) AddOrg(_orgId string, _enodeId string, _account common.Address) (*types.Transaction, error) { 458 return _PermInterface.Contract.AddOrg(&_PermInterface.TransactOpts, _orgId, _enodeId, _account) 459 } 460 461 // AddSubOrg is a paid mutator transaction binding the contract method 0x4cff819e. 462 // 463 // Solidity: function addSubOrg(string _pOrgId, string _orgId, string _enodeId) returns() 464 func (_PermInterface *PermInterfaceTransactor) AddSubOrg(opts *bind.TransactOpts, _pOrgId string, _orgId string, _enodeId string) (*types.Transaction, error) { 465 return _PermInterface.contract.Transact(opts, "addSubOrg", _pOrgId, _orgId, _enodeId) 466 } 467 468 // AddSubOrg is a paid mutator transaction binding the contract method 0x4cff819e. 469 // 470 // Solidity: function addSubOrg(string _pOrgId, string _orgId, string _enodeId) returns() 471 func (_PermInterface *PermInterfaceSession) AddSubOrg(_pOrgId string, _orgId string, _enodeId string) (*types.Transaction, error) { 472 return _PermInterface.Contract.AddSubOrg(&_PermInterface.TransactOpts, _pOrgId, _orgId, _enodeId) 473 } 474 475 // AddSubOrg is a paid mutator transaction binding the contract method 0x4cff819e. 476 // 477 // Solidity: function addSubOrg(string _pOrgId, string _orgId, string _enodeId) returns() 478 func (_PermInterface *PermInterfaceTransactorSession) AddSubOrg(_pOrgId string, _orgId string, _enodeId string) (*types.Transaction, error) { 479 return _PermInterface.Contract.AddSubOrg(&_PermInterface.TransactOpts, _pOrgId, _orgId, _enodeId) 480 } 481 482 // ApproveAdminRole is a paid mutator transaction binding the contract method 0x16724c44. 483 // 484 // Solidity: function approveAdminRole(string _orgId, address _account) returns() 485 func (_PermInterface *PermInterfaceTransactor) ApproveAdminRole(opts *bind.TransactOpts, _orgId string, _account common.Address) (*types.Transaction, error) { 486 return _PermInterface.contract.Transact(opts, "approveAdminRole", _orgId, _account) 487 } 488 489 // ApproveAdminRole is a paid mutator transaction binding the contract method 0x16724c44. 490 // 491 // Solidity: function approveAdminRole(string _orgId, address _account) returns() 492 func (_PermInterface *PermInterfaceSession) ApproveAdminRole(_orgId string, _account common.Address) (*types.Transaction, error) { 493 return _PermInterface.Contract.ApproveAdminRole(&_PermInterface.TransactOpts, _orgId, _account) 494 } 495 496 // ApproveAdminRole is a paid mutator transaction binding the contract method 0x16724c44. 497 // 498 // Solidity: function approveAdminRole(string _orgId, address _account) returns() 499 func (_PermInterface *PermInterfaceTransactorSession) ApproveAdminRole(_orgId string, _account common.Address) (*types.Transaction, error) { 500 return _PermInterface.Contract.ApproveAdminRole(&_PermInterface.TransactOpts, _orgId, _account) 501 } 502 503 // ApproveBlacklistedAccountRecovery is a paid mutator transaction binding the contract method 0x3e239b23. 504 // 505 // Solidity: function approveBlacklistedAccountRecovery(string _orgId, address _account) returns() 506 func (_PermInterface *PermInterfaceTransactor) ApproveBlacklistedAccountRecovery(opts *bind.TransactOpts, _orgId string, _account common.Address) (*types.Transaction, error) { 507 return _PermInterface.contract.Transact(opts, "approveBlacklistedAccountRecovery", _orgId, _account) 508 } 509 510 // ApproveBlacklistedAccountRecovery is a paid mutator transaction binding the contract method 0x3e239b23. 511 // 512 // Solidity: function approveBlacklistedAccountRecovery(string _orgId, address _account) returns() 513 func (_PermInterface *PermInterfaceSession) ApproveBlacklistedAccountRecovery(_orgId string, _account common.Address) (*types.Transaction, error) { 514 return _PermInterface.Contract.ApproveBlacklistedAccountRecovery(&_PermInterface.TransactOpts, _orgId, _account) 515 } 516 517 // ApproveBlacklistedAccountRecovery is a paid mutator transaction binding the contract method 0x3e239b23. 518 // 519 // Solidity: function approveBlacklistedAccountRecovery(string _orgId, address _account) returns() 520 func (_PermInterface *PermInterfaceTransactorSession) ApproveBlacklistedAccountRecovery(_orgId string, _account common.Address) (*types.Transaction, error) { 521 return _PermInterface.Contract.ApproveBlacklistedAccountRecovery(&_PermInterface.TransactOpts, _orgId, _account) 522 } 523 524 // ApproveBlacklistedNodeRecovery is a paid mutator transaction binding the contract method 0x5adbfa7a. 525 // 526 // Solidity: function approveBlacklistedNodeRecovery(string _orgId, string _enodeId) returns() 527 func (_PermInterface *PermInterfaceTransactor) ApproveBlacklistedNodeRecovery(opts *bind.TransactOpts, _orgId string, _enodeId string) (*types.Transaction, error) { 528 return _PermInterface.contract.Transact(opts, "approveBlacklistedNodeRecovery", _orgId, _enodeId) 529 } 530 531 // ApproveBlacklistedNodeRecovery is a paid mutator transaction binding the contract method 0x5adbfa7a. 532 // 533 // Solidity: function approveBlacklistedNodeRecovery(string _orgId, string _enodeId) returns() 534 func (_PermInterface *PermInterfaceSession) ApproveBlacklistedNodeRecovery(_orgId string, _enodeId string) (*types.Transaction, error) { 535 return _PermInterface.Contract.ApproveBlacklistedNodeRecovery(&_PermInterface.TransactOpts, _orgId, _enodeId) 536 } 537 538 // ApproveBlacklistedNodeRecovery is a paid mutator transaction binding the contract method 0x5adbfa7a. 539 // 540 // Solidity: function approveBlacklistedNodeRecovery(string _orgId, string _enodeId) returns() 541 func (_PermInterface *PermInterfaceTransactorSession) ApproveBlacklistedNodeRecovery(_orgId string, _enodeId string) (*types.Transaction, error) { 542 return _PermInterface.Contract.ApproveBlacklistedNodeRecovery(&_PermInterface.TransactOpts, _orgId, _enodeId) 543 } 544 545 // ApproveOrg is a paid mutator transaction binding the contract method 0x7e461258. 546 // 547 // Solidity: function approveOrg(string _orgId, string _enodeId, address _account) returns() 548 func (_PermInterface *PermInterfaceTransactor) ApproveOrg(opts *bind.TransactOpts, _orgId string, _enodeId string, _account common.Address) (*types.Transaction, error) { 549 return _PermInterface.contract.Transact(opts, "approveOrg", _orgId, _enodeId, _account) 550 } 551 552 // ApproveOrg is a paid mutator transaction binding the contract method 0x7e461258. 553 // 554 // Solidity: function approveOrg(string _orgId, string _enodeId, address _account) returns() 555 func (_PermInterface *PermInterfaceSession) ApproveOrg(_orgId string, _enodeId string, _account common.Address) (*types.Transaction, error) { 556 return _PermInterface.Contract.ApproveOrg(&_PermInterface.TransactOpts, _orgId, _enodeId, _account) 557 } 558 559 // ApproveOrg is a paid mutator transaction binding the contract method 0x7e461258. 560 // 561 // Solidity: function approveOrg(string _orgId, string _enodeId, address _account) returns() 562 func (_PermInterface *PermInterfaceTransactorSession) ApproveOrg(_orgId string, _enodeId string, _account common.Address) (*types.Transaction, error) { 563 return _PermInterface.Contract.ApproveOrg(&_PermInterface.TransactOpts, _orgId, _enodeId, _account) 564 } 565 566 // ApproveOrgStatus is a paid mutator transaction binding the contract method 0x5be9672c. 567 // 568 // Solidity: function approveOrgStatus(string _orgId, uint256 _action) returns() 569 func (_PermInterface *PermInterfaceTransactor) ApproveOrgStatus(opts *bind.TransactOpts, _orgId string, _action *big.Int) (*types.Transaction, error) { 570 return _PermInterface.contract.Transact(opts, "approveOrgStatus", _orgId, _action) 571 } 572 573 // ApproveOrgStatus is a paid mutator transaction binding the contract method 0x5be9672c. 574 // 575 // Solidity: function approveOrgStatus(string _orgId, uint256 _action) returns() 576 func (_PermInterface *PermInterfaceSession) ApproveOrgStatus(_orgId string, _action *big.Int) (*types.Transaction, error) { 577 return _PermInterface.Contract.ApproveOrgStatus(&_PermInterface.TransactOpts, _orgId, _action) 578 } 579 580 // ApproveOrgStatus is a paid mutator transaction binding the contract method 0x5be9672c. 581 // 582 // Solidity: function approveOrgStatus(string _orgId, uint256 _action) returns() 583 func (_PermInterface *PermInterfaceTransactorSession) ApproveOrgStatus(_orgId string, _action *big.Int) (*types.Transaction, error) { 584 return _PermInterface.Contract.ApproveOrgStatus(&_PermInterface.TransactOpts, _orgId, _action) 585 } 586 587 // AssignAccountRole is a paid mutator transaction binding the contract method 0x2f7f0a12. 588 // 589 // Solidity: function assignAccountRole(address _account, string _orgId, string _roleId) returns() 590 func (_PermInterface *PermInterfaceTransactor) AssignAccountRole(opts *bind.TransactOpts, _account common.Address, _orgId string, _roleId string) (*types.Transaction, error) { 591 return _PermInterface.contract.Transact(opts, "assignAccountRole", _account, _orgId, _roleId) 592 } 593 594 // AssignAccountRole is a paid mutator transaction binding the contract method 0x2f7f0a12. 595 // 596 // Solidity: function assignAccountRole(address _account, string _orgId, string _roleId) returns() 597 func (_PermInterface *PermInterfaceSession) AssignAccountRole(_account common.Address, _orgId string, _roleId string) (*types.Transaction, error) { 598 return _PermInterface.Contract.AssignAccountRole(&_PermInterface.TransactOpts, _account, _orgId, _roleId) 599 } 600 601 // AssignAccountRole is a paid mutator transaction binding the contract method 0x2f7f0a12. 602 // 603 // Solidity: function assignAccountRole(address _account, string _orgId, string _roleId) returns() 604 func (_PermInterface *PermInterfaceTransactorSession) AssignAccountRole(_account common.Address, _orgId string, _roleId string) (*types.Transaction, error) { 605 return _PermInterface.Contract.AssignAccountRole(&_PermInterface.TransactOpts, _account, _orgId, _roleId) 606 } 607 608 // AssignAdminRole is a paid mutator transaction binding the contract method 0x43de646c. 609 // 610 // Solidity: function assignAdminRole(string _orgId, address _account, string _roleId) returns() 611 func (_PermInterface *PermInterfaceTransactor) AssignAdminRole(opts *bind.TransactOpts, _orgId string, _account common.Address, _roleId string) (*types.Transaction, error) { 612 return _PermInterface.contract.Transact(opts, "assignAdminRole", _orgId, _account, _roleId) 613 } 614 615 // AssignAdminRole is a paid mutator transaction binding the contract method 0x43de646c. 616 // 617 // Solidity: function assignAdminRole(string _orgId, address _account, string _roleId) returns() 618 func (_PermInterface *PermInterfaceSession) AssignAdminRole(_orgId string, _account common.Address, _roleId string) (*types.Transaction, error) { 619 return _PermInterface.Contract.AssignAdminRole(&_PermInterface.TransactOpts, _orgId, _account, _roleId) 620 } 621 622 // AssignAdminRole is a paid mutator transaction binding the contract method 0x43de646c. 623 // 624 // Solidity: function assignAdminRole(string _orgId, address _account, string _roleId) returns() 625 func (_PermInterface *PermInterfaceTransactorSession) AssignAdminRole(_orgId string, _account common.Address, _roleId string) (*types.Transaction, error) { 626 return _PermInterface.Contract.AssignAdminRole(&_PermInterface.TransactOpts, _orgId, _account, _roleId) 627 } 628 629 // Init is a paid mutator transaction binding the contract method 0xa5843f08. 630 // 631 // Solidity: function init(uint256 _breadth, uint256 _depth) returns() 632 func (_PermInterface *PermInterfaceTransactor) Init(opts *bind.TransactOpts, _breadth *big.Int, _depth *big.Int) (*types.Transaction, error) { 633 return _PermInterface.contract.Transact(opts, "init", _breadth, _depth) 634 } 635 636 // Init is a paid mutator transaction binding the contract method 0xa5843f08. 637 // 638 // Solidity: function init(uint256 _breadth, uint256 _depth) returns() 639 func (_PermInterface *PermInterfaceSession) Init(_breadth *big.Int, _depth *big.Int) (*types.Transaction, error) { 640 return _PermInterface.Contract.Init(&_PermInterface.TransactOpts, _breadth, _depth) 641 } 642 643 // Init is a paid mutator transaction binding the contract method 0xa5843f08. 644 // 645 // Solidity: function init(uint256 _breadth, uint256 _depth) returns() 646 func (_PermInterface *PermInterfaceTransactorSession) Init(_breadth *big.Int, _depth *big.Int) (*types.Transaction, error) { 647 return _PermInterface.Contract.Init(&_PermInterface.TransactOpts, _breadth, _depth) 648 } 649 650 // RemoveRole is a paid mutator transaction binding the contract method 0xa6343012. 651 // 652 // Solidity: function removeRole(string _roleId, string _orgId) returns() 653 func (_PermInterface *PermInterfaceTransactor) RemoveRole(opts *bind.TransactOpts, _roleId string, _orgId string) (*types.Transaction, error) { 654 return _PermInterface.contract.Transact(opts, "removeRole", _roleId, _orgId) 655 } 656 657 // RemoveRole is a paid mutator transaction binding the contract method 0xa6343012. 658 // 659 // Solidity: function removeRole(string _roleId, string _orgId) returns() 660 func (_PermInterface *PermInterfaceSession) RemoveRole(_roleId string, _orgId string) (*types.Transaction, error) { 661 return _PermInterface.Contract.RemoveRole(&_PermInterface.TransactOpts, _roleId, _orgId) 662 } 663 664 // RemoveRole is a paid mutator transaction binding the contract method 0xa6343012. 665 // 666 // Solidity: function removeRole(string _roleId, string _orgId) returns() 667 func (_PermInterface *PermInterfaceTransactorSession) RemoveRole(_roleId string, _orgId string) (*types.Transaction, error) { 668 return _PermInterface.Contract.RemoveRole(&_PermInterface.TransactOpts, _roleId, _orgId) 669 } 670 671 // SetPermImplementation is a paid mutator transaction binding the contract method 0x511bbd9f. 672 // 673 // Solidity: function setPermImplementation(address _permImplementation) returns() 674 func (_PermInterface *PermInterfaceTransactor) SetPermImplementation(opts *bind.TransactOpts, _permImplementation common.Address) (*types.Transaction, error) { 675 return _PermInterface.contract.Transact(opts, "setPermImplementation", _permImplementation) 676 } 677 678 // SetPermImplementation is a paid mutator transaction binding the contract method 0x511bbd9f. 679 // 680 // Solidity: function setPermImplementation(address _permImplementation) returns() 681 func (_PermInterface *PermInterfaceSession) SetPermImplementation(_permImplementation common.Address) (*types.Transaction, error) { 682 return _PermInterface.Contract.SetPermImplementation(&_PermInterface.TransactOpts, _permImplementation) 683 } 684 685 // SetPermImplementation is a paid mutator transaction binding the contract method 0x511bbd9f. 686 // 687 // Solidity: function setPermImplementation(address _permImplementation) returns() 688 func (_PermInterface *PermInterfaceTransactorSession) SetPermImplementation(_permImplementation common.Address) (*types.Transaction, error) { 689 return _PermInterface.Contract.SetPermImplementation(&_PermInterface.TransactOpts, _permImplementation) 690 } 691 692 // SetPolicy is a paid mutator transaction binding the contract method 0x1b610220. 693 // 694 // Solidity: function setPolicy(string _nwAdminOrg, string _nwAdminRole, string _oAdminRole) returns() 695 func (_PermInterface *PermInterfaceTransactor) SetPolicy(opts *bind.TransactOpts, _nwAdminOrg string, _nwAdminRole string, _oAdminRole string) (*types.Transaction, error) { 696 return _PermInterface.contract.Transact(opts, "setPolicy", _nwAdminOrg, _nwAdminRole, _oAdminRole) 697 } 698 699 // SetPolicy is a paid mutator transaction binding the contract method 0x1b610220. 700 // 701 // Solidity: function setPolicy(string _nwAdminOrg, string _nwAdminRole, string _oAdminRole) returns() 702 func (_PermInterface *PermInterfaceSession) SetPolicy(_nwAdminOrg string, _nwAdminRole string, _oAdminRole string) (*types.Transaction, error) { 703 return _PermInterface.Contract.SetPolicy(&_PermInterface.TransactOpts, _nwAdminOrg, _nwAdminRole, _oAdminRole) 704 } 705 706 // SetPolicy is a paid mutator transaction binding the contract method 0x1b610220. 707 // 708 // Solidity: function setPolicy(string _nwAdminOrg, string _nwAdminRole, string _oAdminRole) returns() 709 func (_PermInterface *PermInterfaceTransactorSession) SetPolicy(_nwAdminOrg string, _nwAdminRole string, _oAdminRole string) (*types.Transaction, error) { 710 return _PermInterface.Contract.SetPolicy(&_PermInterface.TransactOpts, _nwAdminOrg, _nwAdminRole, _oAdminRole) 711 } 712 713 // StartBlacklistedAccountRecovery is a paid mutator transaction binding the contract method 0xa97914bf. 714 // 715 // Solidity: function startBlacklistedAccountRecovery(string _orgId, address _account) returns() 716 func (_PermInterface *PermInterfaceTransactor) StartBlacklistedAccountRecovery(opts *bind.TransactOpts, _orgId string, _account common.Address) (*types.Transaction, error) { 717 return _PermInterface.contract.Transact(opts, "startBlacklistedAccountRecovery", _orgId, _account) 718 } 719 720 // StartBlacklistedAccountRecovery is a paid mutator transaction binding the contract method 0xa97914bf. 721 // 722 // Solidity: function startBlacklistedAccountRecovery(string _orgId, address _account) returns() 723 func (_PermInterface *PermInterfaceSession) StartBlacklistedAccountRecovery(_orgId string, _account common.Address) (*types.Transaction, error) { 724 return _PermInterface.Contract.StartBlacklistedAccountRecovery(&_PermInterface.TransactOpts, _orgId, _account) 725 } 726 727 // StartBlacklistedAccountRecovery is a paid mutator transaction binding the contract method 0xa97914bf. 728 // 729 // Solidity: function startBlacklistedAccountRecovery(string _orgId, address _account) returns() 730 func (_PermInterface *PermInterfaceTransactorSession) StartBlacklistedAccountRecovery(_orgId string, _account common.Address) (*types.Transaction, error) { 731 return _PermInterface.Contract.StartBlacklistedAccountRecovery(&_PermInterface.TransactOpts, _orgId, _account) 732 } 733 734 // StartBlacklistedNodeRecovery is a paid mutator transaction binding the contract method 0x8cb58ef3. 735 // 736 // Solidity: function startBlacklistedNodeRecovery(string _orgId, string _enodeId) returns() 737 func (_PermInterface *PermInterfaceTransactor) StartBlacklistedNodeRecovery(opts *bind.TransactOpts, _orgId string, _enodeId string) (*types.Transaction, error) { 738 return _PermInterface.contract.Transact(opts, "startBlacklistedNodeRecovery", _orgId, _enodeId) 739 } 740 741 // StartBlacklistedNodeRecovery is a paid mutator transaction binding the contract method 0x8cb58ef3. 742 // 743 // Solidity: function startBlacklistedNodeRecovery(string _orgId, string _enodeId) returns() 744 func (_PermInterface *PermInterfaceSession) StartBlacklistedNodeRecovery(_orgId string, _enodeId string) (*types.Transaction, error) { 745 return _PermInterface.Contract.StartBlacklistedNodeRecovery(&_PermInterface.TransactOpts, _orgId, _enodeId) 746 } 747 748 // StartBlacklistedNodeRecovery is a paid mutator transaction binding the contract method 0x8cb58ef3. 749 // 750 // Solidity: function startBlacklistedNodeRecovery(string _orgId, string _enodeId) returns() 751 func (_PermInterface *PermInterfaceTransactorSession) StartBlacklistedNodeRecovery(_orgId string, _enodeId string) (*types.Transaction, error) { 752 return _PermInterface.Contract.StartBlacklistedNodeRecovery(&_PermInterface.TransactOpts, _orgId, _enodeId) 753 } 754 755 // UpdateAccountStatus is a paid mutator transaction binding the contract method 0x84b7a84a. 756 // 757 // Solidity: function updateAccountStatus(string _orgId, address _account, uint256 _action) returns() 758 func (_PermInterface *PermInterfaceTransactor) UpdateAccountStatus(opts *bind.TransactOpts, _orgId string, _account common.Address, _action *big.Int) (*types.Transaction, error) { 759 return _PermInterface.contract.Transact(opts, "updateAccountStatus", _orgId, _account, _action) 760 } 761 762 // UpdateAccountStatus is a paid mutator transaction binding the contract method 0x84b7a84a. 763 // 764 // Solidity: function updateAccountStatus(string _orgId, address _account, uint256 _action) returns() 765 func (_PermInterface *PermInterfaceSession) UpdateAccountStatus(_orgId string, _account common.Address, _action *big.Int) (*types.Transaction, error) { 766 return _PermInterface.Contract.UpdateAccountStatus(&_PermInterface.TransactOpts, _orgId, _account, _action) 767 } 768 769 // UpdateAccountStatus is a paid mutator transaction binding the contract method 0x84b7a84a. 770 // 771 // Solidity: function updateAccountStatus(string _orgId, address _account, uint256 _action) returns() 772 func (_PermInterface *PermInterfaceTransactorSession) UpdateAccountStatus(_orgId string, _account common.Address, _action *big.Int) (*types.Transaction, error) { 773 return _PermInterface.Contract.UpdateAccountStatus(&_PermInterface.TransactOpts, _orgId, _account, _action) 774 } 775 776 // UpdateNetworkBootStatus is a paid mutator transaction binding the contract method 0x44478e79. 777 // 778 // Solidity: function updateNetworkBootStatus() returns(bool) 779 func (_PermInterface *PermInterfaceTransactor) UpdateNetworkBootStatus(opts *bind.TransactOpts) (*types.Transaction, error) { 780 return _PermInterface.contract.Transact(opts, "updateNetworkBootStatus") 781 } 782 783 // UpdateNetworkBootStatus is a paid mutator transaction binding the contract method 0x44478e79. 784 // 785 // Solidity: function updateNetworkBootStatus() returns(bool) 786 func (_PermInterface *PermInterfaceSession) UpdateNetworkBootStatus() (*types.Transaction, error) { 787 return _PermInterface.Contract.UpdateNetworkBootStatus(&_PermInterface.TransactOpts) 788 } 789 790 // UpdateNetworkBootStatus is a paid mutator transaction binding the contract method 0x44478e79. 791 // 792 // Solidity: function updateNetworkBootStatus() returns(bool) 793 func (_PermInterface *PermInterfaceTransactorSession) UpdateNetworkBootStatus() (*types.Transaction, error) { 794 return _PermInterface.Contract.UpdateNetworkBootStatus(&_PermInterface.TransactOpts) 795 } 796 797 // UpdateNodeStatus is a paid mutator transaction binding the contract method 0x0cc50146. 798 // 799 // Solidity: function updateNodeStatus(string _orgId, string _enodeId, uint256 _action) returns() 800 func (_PermInterface *PermInterfaceTransactor) UpdateNodeStatus(opts *bind.TransactOpts, _orgId string, _enodeId string, _action *big.Int) (*types.Transaction, error) { 801 return _PermInterface.contract.Transact(opts, "updateNodeStatus", _orgId, _enodeId, _action) 802 } 803 804 // UpdateNodeStatus is a paid mutator transaction binding the contract method 0x0cc50146. 805 // 806 // Solidity: function updateNodeStatus(string _orgId, string _enodeId, uint256 _action) returns() 807 func (_PermInterface *PermInterfaceSession) UpdateNodeStatus(_orgId string, _enodeId string, _action *big.Int) (*types.Transaction, error) { 808 return _PermInterface.Contract.UpdateNodeStatus(&_PermInterface.TransactOpts, _orgId, _enodeId, _action) 809 } 810 811 // UpdateNodeStatus is a paid mutator transaction binding the contract method 0x0cc50146. 812 // 813 // Solidity: function updateNodeStatus(string _orgId, string _enodeId, uint256 _action) returns() 814 func (_PermInterface *PermInterfaceTransactorSession) UpdateNodeStatus(_orgId string, _enodeId string, _action *big.Int) (*types.Transaction, error) { 815 return _PermInterface.Contract.UpdateNodeStatus(&_PermInterface.TransactOpts, _orgId, _enodeId, _action) 816 } 817 818 // UpdateOrgStatus is a paid mutator transaction binding the contract method 0xbb3b6e80. 819 // 820 // Solidity: function updateOrgStatus(string _orgId, uint256 _action) returns() 821 func (_PermInterface *PermInterfaceTransactor) UpdateOrgStatus(opts *bind.TransactOpts, _orgId string, _action *big.Int) (*types.Transaction, error) { 822 return _PermInterface.contract.Transact(opts, "updateOrgStatus", _orgId, _action) 823 } 824 825 // UpdateOrgStatus is a paid mutator transaction binding the contract method 0xbb3b6e80. 826 // 827 // Solidity: function updateOrgStatus(string _orgId, uint256 _action) returns() 828 func (_PermInterface *PermInterfaceSession) UpdateOrgStatus(_orgId string, _action *big.Int) (*types.Transaction, error) { 829 return _PermInterface.Contract.UpdateOrgStatus(&_PermInterface.TransactOpts, _orgId, _action) 830 } 831 832 // UpdateOrgStatus is a paid mutator transaction binding the contract method 0xbb3b6e80. 833 // 834 // Solidity: function updateOrgStatus(string _orgId, uint256 _action) returns() 835 func (_PermInterface *PermInterfaceTransactorSession) UpdateOrgStatus(_orgId string, _action *big.Int) (*types.Transaction, error) { 836 return _PermInterface.Contract.UpdateOrgStatus(&_PermInterface.TransactOpts, _orgId, _action) 837 }