UNPKG

easybake-swap-lib

Version:
73 lines 4.45 kB
{ "abi": [ { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "previousManager", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newManager", "type": "address" } ], "name": "ManagementTransferred", "type": "event" }, { "inputs": [], "name": "manager", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceManagement", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newManager", "type": "address" } ], "name": "transferManagement", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ], "evm": { "bytecode": { "linkReferences": {}, "object": "", "opcodes": "", "sourceMap": "" }, "deployedBytecode": { "immutableReferences": {}, "linkReferences": {}, "object": "", "opcodes": "", "sourceMap": "" } }, "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousManager\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newManager\",\"type\":\"address\"}],\"name\":\"ManagementTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"manager\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceManagement\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newManager\",\"type\":\"address\"}],\"name\":\"transferManagement\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Contract module which provides a basic access control mechanism, where there is an account (an manager) that can be granted exclusive access to specific functions. By default, the manager account will be the one that deploys the contract. This can later be changed with {transferManagement}. This module is used through inheritance. It will make available the modifier `onlyManager`, which can be applied to your functions to restrict their use to the manager.\",\"kind\":\"dev\",\"methods\":{\"constructor\":{\"details\":\"Initializes the contract setting the deployer as the initial manager.\"},\"manager()\":{\"details\":\"Returns the address of the current manager.\"},\"renounceManagement()\":{\"details\":\"Leaves the contract without manager. It will not be possible to call `onlyManager` functions anymore. Can only be called by the current manager. NOTE: Renouncing management will leave the contract without an manager, thereby removing any functionality that is only available to the manager.\"},\"transferManagement(address)\":{\"details\":\"Transfers management of the contract to a new account (`newManager`). Can only be called by the current manager.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/access/Manageable.sol\":\"Manageable\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":999999},\"remappings\":[]},\"sources\":{\"contracts/GSN/Context.sol\":{\"keccak256\":\"0xc7d2396c5481131099cdbc8138b2c4df45b5150edc983a78b5fd01acb1197cf2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://08b8c9c1f825b2eaf97629e82bcc4596aba7eb682bf903692296ed7ec5e8c3ed\",\"dweb:/ipfs/QmWrUd5bMZkvCv2M3s9tzUt1cUKEVp7gtWuFikE4KzW9xb\"]},\"contracts/access/Manageable.sol\":{\"keccak256\":\"0x04edf17e31e22f5109293141fbbd4a05f18a1327932c7b6fe0c93bd8ba6f64bc\",\"license\":\"GPL-3.0-or-later\",\"urls\":[\"bzz-raw://926cadad3d258c3c8bf1c0b42c5f66346524411a6663a80b5360b5b5f8a12e90\",\"dweb:/ipfs/QmZUKcxf5V3LQKUTbisGfcicNV5ukDWUgUgMKGMUyjurX9\"]}},\"version\":1}", "bytecode": "" }