{
  "address": "0x242e1E6cF6C30d36988D8019d0fE2e187325CCEd",
  "abi": [
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "_memberToken",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "_controllerRegistry",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "_proxyFactoryAddress",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "_gnosisMasterAddress",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "_podEnsRegistrar",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "_fallbackHandlerAddress",
          "type": "address"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "constructor"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "podId",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "safe",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "admin",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "string",
          "name": "ensName",
          "type": "string"
        }
      ],
      "name": "CreatePod",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "previousOwner",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "newOwner",
          "type": "address"
        }
      ],
      "name": "OwnershipTransferred",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "podId",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "admin",
          "type": "address"
        }
      ],
      "name": "UpdatePodAdmin",
      "type": "event"
    },
    {
      "inputs": [],
      "name": "ENCODED_SIG_DISABLE_MOD",
      "outputs": [
        {
          "internalType": "bytes4",
          "name": "",
          "type": "bytes4"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "ENCODED_SIG_ENABLE_MOD",
      "outputs": [
        {
          "internalType": "bytes4",
          "name": "",
          "type": "bytes4"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "ENCODED_SIG_SET_GUARD",
      "outputs": [
        {
          "internalType": "bytes4",
          "name": "",
          "type": "bytes4"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "FUNCTION_SIG_ENABLE",
      "outputs": [
        {
          "internalType": "string",
          "name": "",
          "type": "string"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "FUNCTION_SIG_EXEC",
      "outputs": [
        {
          "internalType": "string",
          "name": "",
          "type": "string"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "FUNCTION_SIG_SETUP",
      "outputs": [
        {
          "internalType": "string",
          "name": "",
          "type": "string"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "name": "areModulesLocked",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "operator",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "from",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "to",
          "type": "address"
        },
        {
          "internalType": "uint256[]",
          "name": "ids",
          "type": "uint256[]"
        },
        {
          "internalType": "uint256[]",
          "name": "",
          "type": "uint256[]"
        },
        {
          "internalType": "bytes",
          "name": "data",
          "type": "bytes"
        }
      ],
      "name": "beforeTokenTransfer",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "",
          "type": "bytes32"
        },
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "name": "checkAfterExecution",
      "outputs": [],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "to",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "value",
          "type": "uint256"
        },
        {
          "internalType": "bytes",
          "name": "data",
          "type": "bytes"
        },
        {
          "internalType": "enum Enum.Operation",
          "name": "operation",
          "type": "uint8"
        },
        {
          "internalType": "uint256",
          "name": "safeTxGas",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "baseGas",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "gasPrice",
          "type": "uint256"
        },
        {
          "internalType": "address",
          "name": "gasToken",
          "type": "address"
        },
        {
          "internalType": "address payable",
          "name": "refundReceiver",
          "type": "address"
        },
        {
          "internalType": "bytes",
          "name": "signatures",
          "type": "bytes"
        },
        {
          "internalType": "address",
          "name": "msgSender",
          "type": "address"
        }
      ],
      "name": "checkTransaction",
      "outputs": [],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "controllerRegistry",
      "outputs": [
        {
          "internalType": "contract IControllerRegistry",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address[]",
          "name": "_members",
          "type": "address[]"
        },
        {
          "internalType": "uint256",
          "name": "threshold",
          "type": "uint256"
        },
        {
          "internalType": "address",
          "name": "_admin",
          "type": "address"
        },
        {
          "internalType": "bytes32",
          "name": "_label",
          "type": "bytes32"
        },
        {
          "internalType": "string",
          "name": "_ensString",
          "type": "string"
        },
        {
          "internalType": "uint256",
          "name": "expectedPodId",
          "type": "uint256"
        },
        {
          "internalType": "string",
          "name": "_imageUrl",
          "type": "string"
        }
      ],
      "name": "createPod",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "_admin",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "_safe",
          "type": "address"
        },
        {
          "internalType": "bytes32",
          "name": "_label",
          "type": "bytes32"
        },
        {
          "internalType": "string",
          "name": "_ensString",
          "type": "string"
        },
        {
          "internalType": "uint256",
          "name": "expectedPodId",
          "type": "uint256"
        },
        {
          "internalType": "string",
          "name": "_imageUrl",
          "type": "string"
        }
      ],
      "name": "createPodWithSafe",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "_context",
          "type": "address"
        }
      ],
      "name": "delegateSetup",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "module",
          "type": "address"
        }
      ],
      "name": "enableModule",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "fallbackHandlerAddress",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "safe",
          "type": "address"
        }
      ],
      "name": "getSafeMembers",
      "outputs": [
        {
          "internalType": "address[]",
          "name": "",
          "type": "address[]"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "gnosisMasterAddress",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "safe",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "member",
          "type": "address"
        }
      ],
      "name": "isSafeMember",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "safe",
          "type": "address"
        }
      ],
      "name": "isSafeModuleEnabled",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "memberToken",
      "outputs": [
        {
          "internalType": "contract IMemberToken",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_podId",
          "type": "uint256"
        },
        {
          "internalType": "address",
          "name": "_newController",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "_prevModule",
          "type": "address"
        }
      ],
      "name": "migratePodController",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "owner",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "name": "podAdmin",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "podEnsRegistrar",
      "outputs": [
        {
          "internalType": "contract IPodEnsRegistrar",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "name": "podIdToSafe",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "proxyFactoryAddress",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "renounceOwnership",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "name": "safeToPodId",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_podId",
          "type": "uint256"
        },
        {
          "internalType": "bool",
          "name": "_isLocked",
          "type": "bool"
        }
      ],
      "name": "setPodModuleLock",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes4",
          "name": "interfaceId",
          "type": "bytes4"
        }
      ],
      "name": "supportsInterface",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "pure",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "newOwner",
          "type": "address"
        }
      ],
      "name": "transferOwnership",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_podId",
          "type": "uint256"
        },
        {
          "internalType": "address",
          "name": "_newAdmin",
          "type": "address"
        }
      ],
      "name": "updatePodAdmin",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "_podEnsRegistrar",
          "type": "address"
        }
      ],
      "name": "updatePodEnsRegistrar",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_podId",
          "type": "uint256"
        },
        {
          "internalType": "address",
          "name": "_podAdmin",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "_safeAddress",
          "type": "address"
        }
      ],
      "name": "updatePodState",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    }
  ],
  "transactionHash": "0x221c8b53bbf74c0db24f15a98f207c404b745ad9ed3e7f5c1b9016bf6516df64",
  "receipt": {
    "to": null,
    "from": "0x2149A222feD42fefc3A120B3DdA34482190fC666",
    "contractAddress": "0x242e1E6cF6C30d36988D8019d0fE2e187325CCEd",
    "transactionIndex": 9,
    "gasUsed": "3230852",
    "logsBloom": "0x00000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000001000000000000000000000000000000000000020000000000000000000800000000000000000000000000000000400800000000000000000000000000000800000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000200000020000000000000000000000000000000000000000000000000000000000000000000",
    "blockHash": "0xcbdd3d13c464979f276c38b91b97b217ef195cd80eada5f5a168cc7ace498631",
    "transactionHash": "0x221c8b53bbf74c0db24f15a98f207c404b745ad9ed3e7f5c1b9016bf6516df64",
    "logs": [
      {
        "transactionIndex": 9,
        "blockNumber": 14360459,
        "transactionHash": "0x221c8b53bbf74c0db24f15a98f207c404b745ad9ed3e7f5c1b9016bf6516df64",
        "address": "0x242e1E6cF6C30d36988D8019d0fE2e187325CCEd",
        "topics": [
          "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
          "0x0000000000000000000000000000000000000000000000000000000000000000",
          "0x0000000000000000000000002149a222fed42fefc3a120b3dda34482190fc666"
        ],
        "data": "0x",
        "logIndex": 38,
        "blockHash": "0xcbdd3d13c464979f276c38b91b97b217ef195cd80eada5f5a168cc7ace498631"
      }
    ],
    "blockNumber": 14360459,
    "cumulativeGasUsed": "5577627",
    "status": 1,
    "byzantium": true
  },
  "args": [
    "0x0762aA185b6ed2dCA77945Ebe92De705e0C37AE3",
    "0x0d97643EE1051B523E4e3b66Df3640bBA6C0F79f",
    "0xa6B71E26C5e0845f74c812102Ca7114b6a896AB2",
    "0xd9Db270c1B5E3Bd161E8c8503c55cEABeE709552",
    "0x55b5a8C7Df8cff8c8C77bD4448CCcb82e1533686",
    "0xd5D82B6aDDc9027B22dCA772Aa68D5d74cdBdF44"
  ],
  "solcInputHash": "de4ebfa32a751f41748e274c67daf9ac",
  "metadata": "{\"compiler\":{\"version\":\"0.8.7+commit.e28d00a7\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_memberToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_controllerRegistry\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_proxyFactoryAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_gnosisMasterAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_podEnsRegistrar\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_fallbackHandlerAddress\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"podId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"safe\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"ensName\",\"type\":\"string\"}],\"name\":\"CreatePod\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"podId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"}],\"name\":\"UpdatePodAdmin\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"ENCODED_SIG_DISABLE_MOD\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ENCODED_SIG_ENABLE_MOD\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ENCODED_SIG_SET_GUARD\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"FUNCTION_SIG_ENABLE\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"FUNCTION_SIG_EXEC\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"FUNCTION_SIG_SETUP\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"areModulesLocked\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"beforeTokenTransfer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"name\":\"checkAfterExecution\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"enum Enum.Operation\",\"name\":\"operation\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"safeTxGas\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"baseGas\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"gasPrice\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"gasToken\",\"type\":\"address\"},{\"internalType\":\"address payable\",\"name\":\"refundReceiver\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"signatures\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"msgSender\",\"type\":\"address\"}],\"name\":\"checkTransaction\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"controllerRegistry\",\"outputs\":[{\"internalType\":\"contract IControllerRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_members\",\"type\":\"address[]\"},{\"internalType\":\"uint256\",\"name\":\"threshold\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_admin\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_label\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"_ensString\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"expectedPodId\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"_imageUrl\",\"type\":\"string\"}],\"name\":\"createPod\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_admin\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_safe\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_label\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"_ensString\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"expectedPodId\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"_imageUrl\",\"type\":\"string\"}],\"name\":\"createPodWithSafe\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_context\",\"type\":\"address\"}],\"name\":\"delegateSetup\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"module\",\"type\":\"address\"}],\"name\":\"enableModule\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fallbackHandlerAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"safe\",\"type\":\"address\"}],\"name\":\"getSafeMembers\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"gnosisMasterAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"safe\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"member\",\"type\":\"address\"}],\"name\":\"isSafeMember\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"safe\",\"type\":\"address\"}],\"name\":\"isSafeModuleEnabled\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"memberToken\",\"outputs\":[{\"internalType\":\"contract IMemberToken\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_podId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_newController\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_prevModule\",\"type\":\"address\"}],\"name\":\"migratePodController\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"podAdmin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"podEnsRegistrar\",\"outputs\":[{\"internalType\":\"contract IPodEnsRegistrar\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"podIdToSafe\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxyFactoryAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"safeToPodId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_podId\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"_isLocked\",\"type\":\"bool\"}],\"name\":\"setPodModuleLock\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_podId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_newAdmin\",\"type\":\"address\"}],\"name\":\"updatePodAdmin\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_podEnsRegistrar\",\"type\":\"address\"}],\"name\":\"updatePodEnsRegistrar\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_podId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_podAdmin\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_safeAddress\",\"type\":\"address\"}],\"name\":\"updatePodState\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"beforeTokenTransfer(address,address,address,uint256[],uint256[],bytes)\":{\"params\":{\"data\":\"Passes a flag for an initial creation event\",\"from\":\"The address sending the membership token\",\"ids\":\"An array of membership token ids to be transfered\",\"operator\":\"The address that initiated the action\",\"to\":\"The address recieveing the membership token\"}},\"checkTransaction(address,uint256,bytes,uint8,uint256,uint256,uint256,address,address,bytes,address)\":{\"details\":\"This will be called by the safe at execution time time\",\"params\":{\"baseGas\":\"Gas costs that are independent of the transaction execution(e.g. base transaction fee, signature check, payment of the refund)\",\"data\":\"Data payload of Safe transaction.\",\"gasPrice\":\"Gas price that should be used for the payment calculation.\",\"gasToken\":\"Token address (or 0 if ETH) that is used for the payment.\",\"msgSender\":\"Account executing safe transaction\",\"operation\":\"Operation type of Safe transaction.\",\"refundReceiver\":\"Address of receiver of gas payment (or 0 if tx.origin).\",\"safeTxGas\":\"Gas that should be used for the Safe transaction.\",\"signatures\":\"Packed signature data ({bytes32 r}{bytes32 s}{uint8 v})\",\"to\":\"Destination address of Safe transaction.\",\"value\":\"Ether value of Safe transaction.\"}},\"constructor\":{\"details\":\"Will instantiate safe teller with gnosis master and proxy addresses\",\"params\":{\"_controllerRegistry\":\"The address of the ControllerRegistry contract\",\"_gnosisMasterAddress\":\"The gnosis master address\",\"_memberToken\":\"The address of the MemberToken contract\",\"_proxyFactoryAddress\":\"The proxy factory address\"}},\"createPod(address[],uint256,address,bytes32,string,uint256,string)\":{\"params\":{\"_admin\":\"The address of the pod admin\",\"_ensString\":\"string of pod ens name (i.e.'mypod.pod.xyz')\",\"_label\":\"label hash of pod name (i.e labelhash('mypod'))\",\"_members\":\"The addresses of the members of the pod\",\"threshold\":\"The number of members that are required to sign a transaction\"}},\"createPodWithSafe(address,address,bytes32,string,uint256,string)\":{\"details\":\"Used to create a pod with an existing safeWill automatically distribute membership NFTs to current safe members\",\"params\":{\"_admin\":\"The address of the pod admin\",\"_ensString\":\"string of pod ens name (i.e.'mypod.pod.xyz')\",\"_label\":\"label hash of pod name (i.e labelhash('mypod'))\",\"_safe\":\"The address of existing safe\"}},\"migratePodController(uint256,address,address)\":{\"details\":\"This will nullify all pod state on this controllerUpdate state on _newControllerUpdate controller to _newController in Safe and MemberToken\",\"params\":{\"_newController\":\"The address of the new pod controller\",\"_podId\":\"The id number of the pod\",\"_prevModule\":\"The module that points to the orca module in the safe's ModuleManager linked list\"}},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"setPodModuleLock(uint256,bool)\":{\"details\":\"Allows admin to unlock the safe modules and allow them to be edited by members\",\"params\":{\"_isLocked\":\"true - pod modules cannot be added/removed\",\"_podId\":\"The id number of the pod\"}},\"supportsInterface(bytes4)\":{\"details\":\"Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"},\"updatePodAdmin(uint256,address)\":{\"params\":{\"_newAdmin\":\"The address of the new pod admin\",\"_podId\":\"The id number of the pod\"}},\"updatePodState(uint256,address,address)\":{\"details\":\"This is called by another version of controller to migrate a pod to this versionWill only accept calls from registered controllersCan only be called once.\",\"params\":{\"_podAdmin\":\"The address of the pod admin\",\"_podId\":\"The id number of the pod\",\"_safeAddress\":\"The address of the safe\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/ControllerV1.sol\":\"ControllerV1\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":1000},\"remappings\":[]},\"sources\":{\"@gnosis.pm/safe-contracts/contracts/common/Enum.sol\":{\"content\":\"// SPDX-License-Identifier: LGPL-3.0-only\\npragma solidity >=0.7.0 <0.9.0;\\n\\n/// @title Enum - Collection of enums\\n/// @author Richard Meissner - <richard@gnosis.pm>\\ncontract Enum {\\n    enum Operation {Call, DelegateCall}\\n}\\n\",\"keccak256\":\"0x473e45b1a5cc47be494b0e123c9127f0c11c1e0992a321ae5a644c0bfdb2c14f\",\"license\":\"LGPL-3.0-only\"},\"@gnosis.pm/zodiac/contracts/guard/BaseGuard.sol\":{\"content\":\"// SPDX-License-Identifier: LGPL-3.0-only\\npragma solidity >=0.7.0 <0.9.0;\\n\\nimport \\\"@gnosis.pm/safe-contracts/contracts/common/Enum.sol\\\";\\nimport \\\"@openzeppelin/contracts/utils/introspection/IERC165.sol\\\";\\nimport \\\"../interfaces/IGuard.sol\\\";\\n\\nabstract contract BaseGuard is IERC165 {\\n    function supportsInterface(bytes4 interfaceId)\\n        external\\n        pure\\n        override\\n        returns (bool)\\n    {\\n        return\\n            interfaceId == type(IGuard).interfaceId || // 0xe6d7a83a\\n            interfaceId == type(IERC165).interfaceId; // 0x01ffc9a7\\n    }\\n\\n    /// Module transactions only use the first four parameters: to, value, data, and operation.\\n    /// Module.sol hardcodes the remaining parameters as 0 since they are not used for module transactions.\\n    /// This interface is used to maintain compatibilty with Gnosis Safe transaction guards.\\n    function checkTransaction(\\n        address to,\\n        uint256 value,\\n        bytes memory data,\\n        Enum.Operation operation,\\n        uint256 safeTxGas,\\n        uint256 baseGas,\\n        uint256 gasPrice,\\n        address gasToken,\\n        address payable refundReceiver,\\n        bytes memory signatures,\\n        address msgSender\\n    ) external virtual;\\n\\n    function checkAfterExecution(bytes32 txHash, bool success) external virtual;\\n}\\n\",\"keccak256\":\"0x46e33d288999a9f75da42ead460b459bbce3b7a8bc928486c9e2fc7f8f126bd3\",\"license\":\"LGPL-3.0-only\"},\"@gnosis.pm/zodiac/contracts/interfaces/IGuard.sol\":{\"content\":\"// SPDX-License-Identifier: LGPL-3.0-only\\npragma solidity >=0.7.0 <0.9.0;\\n\\nimport \\\"@gnosis.pm/safe-contracts/contracts/common/Enum.sol\\\";\\n\\ninterface IGuard {\\n    function checkTransaction(\\n        address to,\\n        uint256 value,\\n        bytes memory data,\\n        Enum.Operation operation,\\n        uint256 safeTxGas,\\n        uint256 baseGas,\\n        uint256 gasPrice,\\n        address gasToken,\\n        address payable refundReceiver,\\n        bytes memory signatures,\\n        address msgSender\\n    ) external;\\n\\n    function checkAfterExecution(bytes32 txHash, bool success) external;\\n}\\n\",\"keccak256\":\"0xd0d855accbc5fba81c67ab22cdbb03325a8a4d7f6b7e981d1ff0fec3178e464d\",\"license\":\"LGPL-3.0-only\"},\"@openzeppelin/contracts/access/Ownable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../utils/Context.sol\\\";\\n\\n/**\\n * @dev Contract module which provides a basic access control mechanism, where\\n * there is an account (an owner) that can be granted exclusive access to\\n * specific functions.\\n *\\n * By default, the owner account will be the one that deploys the contract. This\\n * can later be changed with {transferOwnership}.\\n *\\n * This module is used through inheritance. It will make available the modifier\\n * `onlyOwner`, which can be applied to your functions to restrict their use to\\n * the owner.\\n */\\nabstract contract Ownable is Context {\\n    address private _owner;\\n\\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n    /**\\n     * @dev Initializes the contract setting the deployer as the initial owner.\\n     */\\n    constructor() {\\n        _transferOwnership(_msgSender());\\n    }\\n\\n    /**\\n     * @dev Returns the address of the current owner.\\n     */\\n    function owner() public view virtual returns (address) {\\n        return _owner;\\n    }\\n\\n    /**\\n     * @dev Throws if called by any account other than the owner.\\n     */\\n    modifier onlyOwner() {\\n        require(owner() == _msgSender(), \\\"Ownable: caller is not the owner\\\");\\n        _;\\n    }\\n\\n    /**\\n     * @dev Leaves the contract without owner. It will not be possible to call\\n     * `onlyOwner` functions anymore. Can only be called by the current owner.\\n     *\\n     * NOTE: Renouncing ownership will leave the contract without an owner,\\n     * thereby removing any functionality that is only available to the owner.\\n     */\\n    function renounceOwnership() public virtual onlyOwner {\\n        _transferOwnership(address(0));\\n    }\\n\\n    /**\\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n     * Can only be called by the current owner.\\n     */\\n    function transferOwnership(address newOwner) public virtual onlyOwner {\\n        require(newOwner != address(0), \\\"Ownable: new owner is the zero address\\\");\\n        _transferOwnership(newOwner);\\n    }\\n\\n    /**\\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n     * Internal function without access restriction.\\n     */\\n    function _transferOwnership(address newOwner) internal virtual {\\n        address oldOwner = _owner;\\n        _owner = newOwner;\\n        emit OwnershipTransferred(oldOwner, newOwner);\\n    }\\n}\\n\",\"keccak256\":\"0x24e0364e503a9bbde94c715d26573a76f14cd2a202d45f96f52134ab806b67b9\",\"license\":\"MIT\"},\"@openzeppelin/contracts/token/ERC1155/IERC1155.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../../utils/introspection/IERC165.sol\\\";\\n\\n/**\\n * @dev Required interface of an ERC1155 compliant contract, as defined in the\\n * https://eips.ethereum.org/EIPS/eip-1155[EIP].\\n *\\n * _Available since v3.1._\\n */\\ninterface IERC1155 is IERC165 {\\n    /**\\n     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.\\n     */\\n    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);\\n\\n    /**\\n     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all\\n     * transfers.\\n     */\\n    event TransferBatch(\\n        address indexed operator,\\n        address indexed from,\\n        address indexed to,\\n        uint256[] ids,\\n        uint256[] values\\n    );\\n\\n    /**\\n     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to\\n     * `approved`.\\n     */\\n    event ApprovalForAll(address indexed account, address indexed operator, bool approved);\\n\\n    /**\\n     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.\\n     *\\n     * If an {URI} event was emitted for `id`, the standard\\n     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value\\n     * returned by {IERC1155MetadataURI-uri}.\\n     */\\n    event URI(string value, uint256 indexed id);\\n\\n    /**\\n     * @dev Returns the amount of tokens of token type `id` owned by `account`.\\n     *\\n     * Requirements:\\n     *\\n     * - `account` cannot be the zero address.\\n     */\\n    function balanceOf(address account, uint256 id) external view returns (uint256);\\n\\n    /**\\n     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.\\n     *\\n     * Requirements:\\n     *\\n     * - `accounts` and `ids` must have the same length.\\n     */\\n    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)\\n        external\\n        view\\n        returns (uint256[] memory);\\n\\n    /**\\n     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,\\n     *\\n     * Emits an {ApprovalForAll} event.\\n     *\\n     * Requirements:\\n     *\\n     * - `operator` cannot be the caller.\\n     */\\n    function setApprovalForAll(address operator, bool approved) external;\\n\\n    /**\\n     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.\\n     *\\n     * See {setApprovalForAll}.\\n     */\\n    function isApprovedForAll(address account, address operator) external view returns (bool);\\n\\n    /**\\n     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.\\n     *\\n     * Emits a {TransferSingle} event.\\n     *\\n     * Requirements:\\n     *\\n     * - `to` cannot be the zero address.\\n     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.\\n     * - `from` must have a balance of tokens of type `id` of at least `amount`.\\n     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the\\n     * acceptance magic value.\\n     */\\n    function safeTransferFrom(\\n        address from,\\n        address to,\\n        uint256 id,\\n        uint256 amount,\\n        bytes calldata data\\n    ) external;\\n\\n    /**\\n     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.\\n     *\\n     * Emits a {TransferBatch} event.\\n     *\\n     * Requirements:\\n     *\\n     * - `ids` and `amounts` must have the same length.\\n     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the\\n     * acceptance magic value.\\n     */\\n    function safeBatchTransferFrom(\\n        address from,\\n        address to,\\n        uint256[] calldata ids,\\n        uint256[] calldata amounts,\\n        bytes calldata data\\n    ) external;\\n}\\n\",\"keccak256\":\"0x8e93de94c9062ebc94fb7e2e3929b0781ac6a2b7772e2f7a59045861c93e5be9\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/Address.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary Address {\\n    /**\\n     * @dev Returns true if `account` is a contract.\\n     *\\n     * [IMPORTANT]\\n     * ====\\n     * It is unsafe to assume that an address for which this function returns\\n     * false is an externally-owned account (EOA) and not a contract.\\n     *\\n     * Among others, `isContract` will return false for the following\\n     * types of addresses:\\n     *\\n     *  - an externally-owned account\\n     *  - a contract in construction\\n     *  - an address where a contract will be created\\n     *  - an address where a contract lived, but was destroyed\\n     * ====\\n     */\\n    function isContract(address account) internal view returns (bool) {\\n        // This method relies on extcodesize, which returns 0 for contracts in\\n        // construction, since the code is only stored at the end of the\\n        // constructor execution.\\n\\n        uint256 size;\\n        assembly {\\n            size := extcodesize(account)\\n        }\\n        return size > 0;\\n    }\\n\\n    /**\\n     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\n     * `recipient`, forwarding all available gas and reverting on errors.\\n     *\\n     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\n     * of certain opcodes, possibly making contracts go over the 2300 gas limit\\n     * imposed by `transfer`, making them unable to receive funds via\\n     * `transfer`. {sendValue} removes this limitation.\\n     *\\n     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\n     *\\n     * IMPORTANT: because control is transferred to `recipient`, care must be\\n     * taken to not create reentrancy vulnerabilities. Consider using\\n     * {ReentrancyGuard} or the\\n     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n     */\\n    function sendValue(address payable recipient, uint256 amount) internal {\\n        require(address(this).balance >= amount, \\\"Address: insufficient balance\\\");\\n\\n        (bool success, ) = recipient.call{value: amount}(\\\"\\\");\\n        require(success, \\\"Address: unable to send value, recipient may have reverted\\\");\\n    }\\n\\n    /**\\n     * @dev Performs a Solidity function call using a low level `call`. A\\n     * plain `call` is an unsafe replacement for a function call: use this\\n     * function instead.\\n     *\\n     * If `target` reverts with a revert reason, it is bubbled up by this\\n     * function (like regular Solidity function calls).\\n     *\\n     * Returns the raw returned data. To convert to the expected return value,\\n     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\n     *\\n     * Requirements:\\n     *\\n     * - `target` must be a contract.\\n     * - calling `target` with `data` must not revert.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n        return functionCall(target, data, \\\"Address: low-level call failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\n     * `errorMessage` as a fallback revert reason when `target` reverts.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCall(\\n        address target,\\n        bytes memory data,\\n        string memory errorMessage\\n    ) internal returns (bytes memory) {\\n        return functionCallWithValue(target, data, 0, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n     * but also transferring `value` wei to `target`.\\n     *\\n     * Requirements:\\n     *\\n     * - the calling contract must have an ETH balance of at least `value`.\\n     * - the called Solidity function must be `payable`.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCallWithValue(\\n        address target,\\n        bytes memory data,\\n        uint256 value\\n    ) internal returns (bytes memory) {\\n        return functionCallWithValue(target, data, value, \\\"Address: low-level call with value failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\n     * with `errorMessage` as a fallback revert reason when `target` reverts.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCallWithValue(\\n        address target,\\n        bytes memory data,\\n        uint256 value,\\n        string memory errorMessage\\n    ) internal returns (bytes memory) {\\n        require(address(this).balance >= value, \\\"Address: insufficient balance for call\\\");\\n        require(isContract(target), \\\"Address: call to non-contract\\\");\\n\\n        (bool success, bytes memory returndata) = target.call{value: value}(data);\\n        return verifyCallResult(success, returndata, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n     * but performing a static call.\\n     *\\n     * _Available since v3.3._\\n     */\\n    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\n        return functionStaticCall(target, data, \\\"Address: low-level static call failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n     * but performing a static call.\\n     *\\n     * _Available since v3.3._\\n     */\\n    function functionStaticCall(\\n        address target,\\n        bytes memory data,\\n        string memory errorMessage\\n    ) internal view returns (bytes memory) {\\n        require(isContract(target), \\\"Address: static call to non-contract\\\");\\n\\n        (bool success, bytes memory returndata) = target.staticcall(data);\\n        return verifyCallResult(success, returndata, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n     * but performing a delegate call.\\n     *\\n     * _Available since v3.4._\\n     */\\n    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\\n        return functionDelegateCall(target, data, \\\"Address: low-level delegate call failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n     * but performing a delegate call.\\n     *\\n     * _Available since v3.4._\\n     */\\n    function functionDelegateCall(\\n        address target,\\n        bytes memory data,\\n        string memory errorMessage\\n    ) internal returns (bytes memory) {\\n        require(isContract(target), \\\"Address: delegate call to non-contract\\\");\\n\\n        (bool success, bytes memory returndata) = target.delegatecall(data);\\n        return verifyCallResult(success, returndata, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the\\n     * revert reason using the provided one.\\n     *\\n     * _Available since v4.3._\\n     */\\n    function verifyCallResult(\\n        bool success,\\n        bytes memory returndata,\\n        string memory errorMessage\\n    ) internal pure returns (bytes memory) {\\n        if (success) {\\n            return returndata;\\n        } else {\\n            // Look for revert reason and bubble it up if present\\n            if (returndata.length > 0) {\\n                // The easiest way to bubble the revert reason is using memory via assembly\\n\\n                assembly {\\n                    let returndata_size := mload(returndata)\\n                    revert(add(32, returndata), returndata_size)\\n                }\\n            } else {\\n                revert(errorMessage);\\n            }\\n        }\\n    }\\n}\\n\",\"keccak256\":\"0x51b758a8815ecc9596c66c37d56b1d33883a444631a3f916b9fe65cb863ef7c4\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/Context.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Provides information about the current execution context, including the\\n * sender of the transaction and its data. While these are generally available\\n * via msg.sender and msg.data, they should not be accessed in such a direct\\n * manner, since when dealing with meta-transactions the account sending and\\n * paying for execution may not be the actual sender (as far as an application\\n * is concerned).\\n *\\n * This contract is only required for intermediate, library-like contracts.\\n */\\nabstract contract Context {\\n    function _msgSender() internal view virtual returns (address) {\\n        return msg.sender;\\n    }\\n\\n    function _msgData() internal view virtual returns (bytes calldata) {\\n        return msg.data;\\n    }\\n}\\n\",\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/Strings.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev String operations.\\n */\\nlibrary Strings {\\n    bytes16 private constant _HEX_SYMBOLS = \\\"0123456789abcdef\\\";\\n\\n    /**\\n     * @dev Converts a `uint256` to its ASCII `string` decimal representation.\\n     */\\n    function toString(uint256 value) internal pure returns (string memory) {\\n        // Inspired by OraclizeAPI's implementation - MIT licence\\n        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol\\n\\n        if (value == 0) {\\n            return \\\"0\\\";\\n        }\\n        uint256 temp = value;\\n        uint256 digits;\\n        while (temp != 0) {\\n            digits++;\\n            temp /= 10;\\n        }\\n        bytes memory buffer = new bytes(digits);\\n        while (value != 0) {\\n            digits -= 1;\\n            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));\\n            value /= 10;\\n        }\\n        return string(buffer);\\n    }\\n\\n    /**\\n     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.\\n     */\\n    function toHexString(uint256 value) internal pure returns (string memory) {\\n        if (value == 0) {\\n            return \\\"0x00\\\";\\n        }\\n        uint256 temp = value;\\n        uint256 length = 0;\\n        while (temp != 0) {\\n            length++;\\n            temp >>= 8;\\n        }\\n        return toHexString(value, length);\\n    }\\n\\n    /**\\n     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.\\n     */\\n    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {\\n        bytes memory buffer = new bytes(2 * length + 2);\\n        buffer[0] = \\\"0\\\";\\n        buffer[1] = \\\"x\\\";\\n        for (uint256 i = 2 * length + 1; i > 1; --i) {\\n            buffer[i] = _HEX_SYMBOLS[value & 0xf];\\n            value >>= 4;\\n        }\\n        require(value == 0, \\\"Strings: hex length insufficient\\\");\\n        return string(buffer);\\n    }\\n}\\n\",\"keccak256\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Interface of the ERC165 standard, as defined in the\\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\\n *\\n * Implementers can declare support of contract interfaces, which can then be\\n * queried by others ({ERC165Checker}).\\n *\\n * For an implementation, see {ERC165}.\\n */\\ninterface IERC165 {\\n    /**\\n     * @dev Returns true if this contract implements the interface defined by\\n     * `interfaceId`. See the corresponding\\n     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\\n     * to learn more about how these ids are created.\\n     *\\n     * This function call must use less than 30 000 gas.\\n     */\\n    function supportsInterface(bytes4 interfaceId) external view returns (bool);\\n}\\n\",\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\"},\"contracts/ControllerV1.sol\":{\"content\":\"pragma solidity 0.8.7;\\n\\n/* solhint-disable indent */\\n\\nimport \\\"@openzeppelin/contracts/access/Ownable.sol\\\";\\nimport \\\"@openzeppelin/contracts/utils/Strings.sol\\\";\\nimport \\\"./interfaces/IControllerV1.sol\\\";\\nimport \\\"./interfaces/IMemberToken.sol\\\";\\nimport \\\"./interfaces/IControllerRegistry.sol\\\";\\nimport \\\"./SafeTeller.sol\\\";\\nimport \\\"./ens/IPodEnsRegistrar.sol\\\";\\n\\ncontract ControllerV1 is IControllerV1, SafeTeller, Ownable {\\n    event CreatePod(uint256 podId, address safe, address admin, string ensName);\\n    event UpdatePodAdmin(uint256 podId, address admin);\\n\\n    IMemberToken public immutable memberToken;\\n    IControllerRegistry public immutable controllerRegistry;\\n    IPodEnsRegistrar public podEnsRegistrar;\\n\\n    mapping(address => uint256) public safeToPodId;\\n    mapping(uint256 => address) public podIdToSafe;\\n    mapping(uint256 => address) public podAdmin;\\n\\n    uint8 internal constant CREATE_EVENT = 0x01;\\n\\n    /**\\n     * @dev Will instantiate safe teller with gnosis master and proxy addresses\\n     * @param _memberToken The address of the MemberToken contract\\n     * @param _controllerRegistry The address of the ControllerRegistry contract\\n     * @param _proxyFactoryAddress The proxy factory address\\n     * @param _gnosisMasterAddress The gnosis master address\\n     */\\n    constructor(\\n        address _memberToken,\\n        address _controllerRegistry,\\n        address _proxyFactoryAddress,\\n        address _gnosisMasterAddress,\\n        address _podEnsRegistrar,\\n        address _fallbackHandlerAddress\\n    )\\n        SafeTeller(\\n            _proxyFactoryAddress,\\n            _gnosisMasterAddress,\\n            _fallbackHandlerAddress\\n        )\\n    {\\n        require(_memberToken != address(0), \\\"Invalid address\\\");\\n        require(_controllerRegistry != address(0), \\\"Invalid address\\\");\\n        require(_proxyFactoryAddress != address(0), \\\"Invalid address\\\");\\n        require(_gnosisMasterAddress != address(0), \\\"Invalid address\\\");\\n        require(_podEnsRegistrar != address(0), \\\"Invalid address\\\");\\n        require(_fallbackHandlerAddress != address(0), \\\"Invalid address\\\");\\n\\n        memberToken = IMemberToken(_memberToken);\\n        controllerRegistry = IControllerRegistry(_controllerRegistry);\\n        podEnsRegistrar = IPodEnsRegistrar(_podEnsRegistrar);\\n    }\\n\\n    function updatePodEnsRegistrar(address _podEnsRegistrar)\\n        external\\n        override\\n        onlyOwner\\n    {\\n        require(_podEnsRegistrar != address(0), \\\"Invalid address\\\");\\n        podEnsRegistrar = IPodEnsRegistrar(_podEnsRegistrar);\\n    }\\n\\n    /**\\n     * @param _members The addresses of the members of the pod\\n     * @param threshold The number of members that are required to sign a transaction\\n     * @param _admin The address of the pod admin\\n     * @param _label label hash of pod name (i.e labelhash('mypod'))\\n     * @param _ensString string of pod ens name (i.e.'mypod.pod.xyz')\\n     */\\n    function createPod(\\n        address[] memory _members,\\n        uint256 threshold,\\n        address _admin,\\n        bytes32 _label,\\n        string memory _ensString,\\n        uint256 expectedPodId,\\n        string memory _imageUrl\\n    ) external override {\\n        address safe = createSafe(_members, threshold);\\n\\n        _createPod(\\n            _members,\\n            safe,\\n            _admin,\\n            _label,\\n            _ensString,\\n            expectedPodId,\\n            _imageUrl\\n        );\\n    }\\n\\n    /**\\n     * @dev Used to create a pod with an existing safe\\n     * @dev Will automatically distribute membership NFTs to current safe members\\n     * @param _admin The address of the pod admin\\n     * @param _safe The address of existing safe\\n     * @param _label label hash of pod name (i.e labelhash('mypod'))\\n     * @param _ensString string of pod ens name (i.e.'mypod.pod.xyz')\\n     */\\n    function createPodWithSafe(\\n        address _admin,\\n        address _safe,\\n        bytes32 _label,\\n        string memory _ensString,\\n        uint256 expectedPodId,\\n        string memory _imageUrl\\n    ) external override {\\n        require(_safe != address(0), \\\"invalid safe address\\\");\\n        require(safeToPodId[_safe] == 0, \\\"safe already in use\\\");\\n        require(isSafeModuleEnabled(_safe), \\\"safe module must be enabled\\\");\\n        require(\\n            isSafeMember(_safe, msg.sender) || msg.sender == _safe,\\n            \\\"caller must be safe or member\\\"\\n        );\\n\\n        address[] memory members = getSafeMembers(_safe);\\n\\n        _createPod(\\n            members,\\n            _safe,\\n            _admin,\\n            _label,\\n            _ensString,\\n            expectedPodId,\\n            _imageUrl\\n        );\\n    }\\n\\n    /**\\n     * @param _members The addresses of the members of the pod\\n     * @param _admin The address of the pod admin\\n     * @param _safe The address of existing safe\\n     * @param _label label hash of pod name (i.e labelhash('mypod'))\\n     * @param _ensString string of pod ens name (i.e.'mypod.pod.xyz')\\n     */\\n    function _createPod(\\n        address[] memory _members,\\n        address _safe,\\n        address _admin,\\n        bytes32 _label,\\n        string memory _ensString,\\n        uint256 expectedPodId,\\n        string memory _imageUrl\\n    ) private {\\n        // add create event flag to token data\\n        bytes memory data = new bytes(1);\\n        data[0] = bytes1(uint8(CREATE_EVENT));\\n\\n        uint256 podId = memberToken.createPod(_members, data);\\n        // The imageUrl has an expected pod ID, but we need to make sure it aligns with the actual pod ID\\n        require(podId == expectedPodId, \\\"pod id didn't match, try again\\\");\\n\\n        emit CreatePod(podId, _safe, _admin, _ensString);\\n        emit UpdatePodAdmin(podId, _admin);\\n\\n        if (_admin != address(0)) {\\n            // will lock safe modules if admin exists\\n            setModuleLock(_safe, true);\\n            podAdmin[podId] = _admin;\\n        }\\n        podIdToSafe[podId] = _safe;\\n        safeToPodId[_safe] = podId;\\n\\n        // setup pod ENS\\n        address reverseRegistrar = podEnsRegistrar.registerPod(\\n            _label,\\n            _safe,\\n            msg.sender\\n        );\\n        setupSafeReverseResolver(_safe, reverseRegistrar, _ensString);\\n\\n        // Node is how ENS identifies names, we need that to setText\\n        bytes32 node = podEnsRegistrar.getEnsNode(_label);\\n        podEnsRegistrar.setText(node, \\\"avatar\\\", _imageUrl);\\n        podEnsRegistrar.setText(node, \\\"podId\\\", Strings.toString(podId));\\n    }\\n\\n    /**\\n     * @dev Allows admin to unlock the safe modules and allow them to be edited by members\\n     * @param _podId The id number of the pod\\n     * @param _isLocked true - pod modules cannot be added/removed\\n     */\\n    function setPodModuleLock(uint256 _podId, bool _isLocked)\\n        external\\n        override\\n    {\\n        require(\\n            msg.sender == podAdmin[_podId],\\n            \\\"Must be admin to set module lock\\\"\\n        );\\n        setModuleLock(podIdToSafe[_podId], _isLocked);\\n    }\\n\\n    /**\\n     * @param _podId The id number of the pod\\n     * @param _newAdmin The address of the new pod admin\\n     */\\n    function updatePodAdmin(uint256 _podId, address _newAdmin)\\n        external\\n        override\\n    {\\n        address admin = podAdmin[_podId];\\n        address safe = podIdToSafe[_podId];\\n\\n        require(safe != address(0), \\\"Pod doesn't exist\\\");\\n\\n        // if there is no admin it can only be added by safe\\n        if (admin == address(0)) {\\n            require(msg.sender == safe, \\\"Only safe can add new admin\\\");\\n        } else {\\n            require(msg.sender == admin, \\\"Only admin can update admin\\\");\\n        }\\n        // set module lock to true for non zero _newAdmin\\n        setModuleLock(safe, _newAdmin != address(0));\\n\\n        podAdmin[_podId] = _newAdmin;\\n\\n        emit UpdatePodAdmin(_podId, _newAdmin);\\n    }\\n\\n    /**\\n     * @dev This will nullify all pod state on this controller\\n     * @dev Update state on _newController\\n     * @dev Update controller to _newController in Safe and MemberToken\\n     * @param _podId The id number of the pod\\n     * @param _newController The address of the new pod controller\\n     * @param _prevModule The module that points to the orca module in the safe's ModuleManager linked list\\n     */\\n    function migratePodController(\\n        uint256 _podId,\\n        address _newController,\\n        address _prevModule\\n    ) external override {\\n        require(_newController != address(0), \\\"Invalid address\\\");\\n        require(\\n            controllerRegistry.isRegistered(_newController),\\n            \\\"Controller not registered\\\"\\n        );\\n\\n        address admin = podAdmin[_podId];\\n        address safe = podIdToSafe[_podId];\\n\\n        require(\\n            msg.sender == admin || msg.sender == safe,\\n            \\\"User not authorized\\\"\\n        );\\n\\n        IControllerBase newController = IControllerBase(_newController);\\n\\n        // nullify current pod state\\n        podAdmin[_podId] = address(0);\\n        podIdToSafe[_podId] = address(0);\\n        safeToPodId[safe] = 0;\\n        // update controller in MemberToken\\n        memberToken.migrateMemberController(_podId, _newController);\\n        // update safe module to _newController\\n        migrateSafeTeller(safe, _newController, _prevModule);\\n        // update pod state in _newController\\n        newController.updatePodState(_podId, admin, safe);\\n    }\\n\\n    /**\\n     * @dev This is called by another version of controller to migrate a pod to this version\\n     * @dev Will only accept calls from registered controllers\\n     * @dev Can only be called once.\\n     * @param _podId The id number of the pod\\n     * @param _podAdmin The address of the pod admin\\n     * @param _safeAddress The address of the safe\\n     */\\n    function updatePodState(\\n        uint256 _podId,\\n        address _podAdmin,\\n        address _safeAddress\\n    ) external override {\\n        require(_safeAddress != address(0), \\\"Invalid address\\\");\\n        require(\\n            controllerRegistry.isRegistered(msg.sender),\\n            \\\"Controller not registered\\\"\\n        );\\n        require(\\n            podAdmin[_podId] == address(0) &&\\n                podIdToSafe[_podId] == address(0) &&\\n                safeToPodId[_safeAddress] == 0,\\n            \\\"Pod already exists\\\"\\n        );\\n        // if there is a pod admin, set state and lock modules\\n        if (_podAdmin != address(0)) {\\n            podAdmin[_podId] = _podAdmin;\\n            setModuleLock(_safeAddress, true);\\n        }\\n        podIdToSafe[_podId] = _safeAddress;\\n        safeToPodId[_safeAddress] = _podId;\\n\\n        setSafeTellerAsGuard(_safeAddress);\\n\\n        emit UpdatePodAdmin(_podId, _podAdmin);\\n    }\\n\\n    /**\\n     * @param operator The address that initiated the action\\n     * @param from The address sending the membership token\\n     * @param to The address recieveing the membership token\\n     * @param ids An array of membership token ids to be transfered\\n     * @param data Passes a flag for an initial creation event\\n     */\\n    function beforeTokenTransfer(\\n        address operator,\\n        address from,\\n        address to,\\n        uint256[] memory ids,\\n        uint256[] memory,\\n        bytes memory data\\n    ) external override {\\n        require(msg.sender == address(memberToken), \\\"Not Authorized\\\");\\n\\n        // if create event than side effects have been pre-handled\\n        // only recognise data flags from this controller\\n        if (operator == address(this) && uint8(data[0]) == CREATE_EVENT) return;\\n\\n        for (uint256 i = 0; i < ids.length; i += 1) {\\n            uint256 podId = ids[i];\\n            address safe = podIdToSafe[podId];\\n            address admin = podAdmin[podId];\\n\\n            if (from == address(0)) {\\n                // mint event\\n\\n                // there are no rules operator must be admin, safe or controller\\n                require(\\n                    operator == safe ||\\n                        operator == admin ||\\n                        operator == address(this),\\n                    \\\"No Rules Set\\\"\\n                );\\n\\n                onMint(to, safe);\\n            } else if (to == address(0)) {\\n                // burn event\\n\\n                // there are no rules  operator must be admin, safe or controller\\n                require(\\n                    operator == safe ||\\n                        operator == admin ||\\n                        operator == address(this),\\n                    \\\"No Rules Set\\\"\\n                );\\n\\n                onBurn(from, safe);\\n            } else {\\n                // transfer event\\n                onTransfer(from, to, safe);\\n            }\\n        }\\n    }\\n}\\n\",\"keccak256\":\"0x20199deb7a23fee8112eedd48057042e9e28d36fbdcc8c6ce787577f333cea2d\"},\"contracts/SafeTeller.sol\":{\"content\":\"pragma solidity 0.8.7;\\n\\nimport \\\"@openzeppelin/contracts/utils/Address.sol\\\";\\nimport \\\"./interfaces/IGnosisSafe.sol\\\";\\nimport \\\"./interfaces/IGnosisSafeProxyFactory.sol\\\";\\nimport \\\"@gnosis.pm/zodiac/contracts/guard/BaseGuard.sol\\\";\\n\\ncontract SafeTeller is BaseGuard {\\n    using Address for address;\\n\\n    // mainnet: 0x76E2cFc1F5Fa8F6a5b3fC4c8F4788F0116861F9B;\\n    address public immutable proxyFactoryAddress;\\n\\n    // mainnet: 0x34CfAC646f301356fAa8B21e94227e3583Fe3F5F;\\n    address public immutable gnosisMasterAddress;\\n    address public immutable fallbackHandlerAddress;\\n\\n    string public constant FUNCTION_SIG_SETUP =\\n        \\\"setup(address[],uint256,address,bytes,address,address,uint256,address)\\\";\\n    string public constant FUNCTION_SIG_EXEC =\\n        \\\"execTransaction(address,uint256,bytes,uint8,uint256,uint256,uint256,address,address,bytes)\\\";\\n\\n    string public constant FUNCTION_SIG_ENABLE = \\\"delegateSetup(address)\\\";\\n\\n    bytes4 public constant ENCODED_SIG_ENABLE_MOD =\\n        bytes4(keccak256(\\\"enableModule(address)\\\"));\\n    bytes4 public constant ENCODED_SIG_DISABLE_MOD =\\n        bytes4(keccak256(\\\"disableModule(address,address)\\\"));\\n    bytes4 public constant ENCODED_SIG_SET_GUARD =\\n        bytes4(keccak256(\\\"setGuard(address)\\\"));\\n\\n    address internal constant SENTINEL = address(0x1);\\n\\n    // pods with admin have modules locked by default\\n    mapping(address => bool) public areModulesLocked;\\n\\n    /**\\n     * @param _proxyFactoryAddress The proxy factory address\\n     * @param _gnosisMasterAddress The gnosis master address\\n     */\\n    constructor(\\n        address _proxyFactoryAddress,\\n        address _gnosisMasterAddress,\\n        address _fallbackHanderAddress\\n    ) {\\n        proxyFactoryAddress = _proxyFactoryAddress;\\n        gnosisMasterAddress = _gnosisMasterAddress;\\n        fallbackHandlerAddress = _fallbackHanderAddress;\\n    }\\n\\n    /**\\n     * @param _safe The address of the safe\\n     * @param _newSafeTeller The address of the new safe teller contract\\n     */\\n    function migrateSafeTeller(\\n        address _safe,\\n        address _newSafeTeller,\\n        address _prevModule\\n    ) internal {\\n        // add new safeTeller\\n        bytes memory enableData = abi.encodeWithSignature(\\n            \\\"enableModule(address)\\\",\\n            _newSafeTeller\\n        );\\n\\n        bool enableSuccess = IGnosisSafe(_safe).execTransactionFromModule(\\n            _safe,\\n            0,\\n            enableData,\\n            IGnosisSafe.Operation.Call\\n        );\\n        require(enableSuccess, \\\"Migration failed on enable\\\");\\n\\n        // validate prevModule of current safe teller\\n        (address[] memory moduleBuffer, ) = IGnosisSafe(_safe)\\n            .getModulesPaginated(_prevModule, 1);\\n        require(moduleBuffer[0] == address(this), \\\"incorrect prevModule\\\");\\n\\n        // disable current safeTeller\\n        bytes memory disableData = abi.encodeWithSignature(\\n            \\\"disableModule(address,address)\\\",\\n            _prevModule,\\n            address(this)\\n        );\\n\\n        bool disableSuccess = IGnosisSafe(_safe).execTransactionFromModule(\\n            _safe,\\n            0,\\n            disableData,\\n            IGnosisSafe.Operation.Call\\n        );\\n        require(disableSuccess, \\\"Migration failed on disable\\\");\\n    }\\n\\n    /**\\n     * @dev sets the safeteller as safe guard, called after migration\\n     * @param _safe The address of the safe\\n     */\\n    function setSafeTellerAsGuard(address _safe) internal {\\n        bytes memory transferData = abi.encodeWithSignature(\\n            \\\"setGuard(address)\\\",\\n            address(this)\\n        );\\n\\n        bool guardSuccess = IGnosisSafe(_safe).execTransactionFromModule(\\n            _safe,\\n            0,\\n            transferData,\\n            IGnosisSafe.Operation.Call\\n        );\\n        require(guardSuccess, \\\"Could not enable guard\\\");\\n    }\\n\\n    function getSafeMembers(address safe)\\n        public\\n        view\\n        returns (address[] memory)\\n    {\\n        return IGnosisSafe(safe).getOwners();\\n    }\\n\\n    function isSafeModuleEnabled(address safe) public view returns (bool) {\\n        return IGnosisSafe(safe).isModuleEnabled(address(this));\\n    }\\n\\n    function isSafeMember(address safe, address member)\\n        public\\n        view\\n        returns (bool)\\n    {\\n        return IGnosisSafe(safe).isOwner(member);\\n    }\\n\\n    /**\\n     * @param _owners The  addresses to be owners of the safe\\n     * @param _threshold The number of owners that are required to sign a transaciton\\n     * @return safeAddress The address of the new safe\\n     */\\n    function createSafe(address[] memory _owners, uint256 _threshold)\\n        internal\\n        returns (address safeAddress)\\n    {\\n        bytes memory data = abi.encodeWithSignature(\\n            FUNCTION_SIG_ENABLE,\\n            address(this)\\n        );\\n\\n        // encode the setup call that will be called on the new proxy safe\\n        // from the proxy factory\\n        bytes memory setupData = abi.encodeWithSignature(\\n            FUNCTION_SIG_SETUP,\\n            _owners,\\n            _threshold,\\n            this,\\n            data,\\n            fallbackHandlerAddress,\\n            address(0),\\n            uint256(0),\\n            address(0)\\n        );\\n\\n        try\\n            IGnosisSafeProxyFactory(proxyFactoryAddress).createProxy(\\n                gnosisMasterAddress,\\n                setupData\\n            )\\n        returns (address newSafeAddress) {\\n            // add safe teller as guard\\n            setSafeTellerAsGuard(newSafeAddress);\\n\\n            return newSafeAddress;\\n        } catch (bytes memory) {\\n            revert(\\\"Create Proxy With Data Failed\\\");\\n        }\\n    }\\n\\n    /**\\n     * @param to The account address to add as an owner\\n     * @param safe The address of the safe\\n     */\\n    function onMint(address to, address safe) internal {\\n        uint256 threshold = IGnosisSafe(safe).getThreshold();\\n\\n        bytes memory data = abi.encodeWithSignature(\\n            \\\"addOwnerWithThreshold(address,uint256)\\\",\\n            to,\\n            threshold\\n        );\\n\\n        bool success = IGnosisSafe(safe).execTransactionFromModule(\\n            safe,\\n            0,\\n            data,\\n            IGnosisSafe.Operation.Call\\n        );\\n\\n        require(success, \\\"Module Transaction Failed\\\");\\n    }\\n\\n    /**\\n     * @param from The address to be removed as an owner\\n     * @param safe The address of the safe\\n     */\\n    function onBurn(address from, address safe) internal {\\n        uint256 threshold = IGnosisSafe(safe).getThreshold();\\n        address[] memory owners = IGnosisSafe(safe).getOwners();\\n\\n        //look for the address pointing to address from\\n        address prevFrom = address(0);\\n        for (uint256 i = 0; i < owners.length; i++) {\\n            if (owners[i] == from) {\\n                if (i == 0) {\\n                    prevFrom = SENTINEL;\\n                } else {\\n                    prevFrom = owners[i - 1];\\n                }\\n            }\\n        }\\n        if (owners.length - 1 < threshold) threshold -= 1;\\n        bytes memory data = abi.encodeWithSignature(\\n            \\\"removeOwner(address,address,uint256)\\\",\\n            prevFrom,\\n            from,\\n            threshold\\n        );\\n\\n        bool success = IGnosisSafe(safe).execTransactionFromModule(\\n            safe,\\n            0,\\n            data,\\n            IGnosisSafe.Operation.Call\\n        );\\n        require(success, \\\"Module Transaction Failed\\\");\\n    }\\n\\n    /**\\n     * @param from The address being removed as an owner\\n     * @param to The address being added as an owner\\n     * @param safe The address of the safe\\n     */\\n    function onTransfer(\\n        address from,\\n        address to,\\n        address safe\\n    ) internal {\\n        address[] memory owners = IGnosisSafe(safe).getOwners();\\n\\n        //look for the address pointing to address from\\n        address prevFrom;\\n        for (uint256 i = 0; i < owners.length; i++) {\\n            if (owners[i] == from) {\\n                if (i == 0) {\\n                    prevFrom = SENTINEL;\\n                } else {\\n                    prevFrom = owners[i - 1];\\n                }\\n            }\\n        }\\n\\n        bytes memory data = abi.encodeWithSignature(\\n            \\\"swapOwner(address,address,address)\\\",\\n            prevFrom,\\n            from,\\n            to\\n        );\\n\\n        bool success = IGnosisSafe(safe).execTransactionFromModule(\\n            safe,\\n            0,\\n            data,\\n            IGnosisSafe.Operation.Call\\n        );\\n        require(success, \\\"Module Transaction Failed\\\");\\n    }\\n\\n    /**\\n     * @dev This will execute a tx from the safe that will update the safe's ENS in the reverse resolver\\n     * @param safe safe address\\n     * @param reverseRegistrar The ENS default reverseRegistar\\n     * @param _ensString string of pod ens name (i.e.'mypod.pod.xyz')\\n     */\\n    function setupSafeReverseResolver(\\n        address safe,\\n        address reverseRegistrar,\\n        string memory _ensString\\n    ) internal {\\n        bytes memory data = abi.encodeWithSignature(\\n            \\\"setName(string)\\\",\\n            _ensString\\n        );\\n\\n        bool success = IGnosisSafe(safe).execTransactionFromModule(\\n            reverseRegistrar,\\n            0,\\n            data,\\n            IGnosisSafe.Operation.Call\\n        );\\n        require(success, \\\"Module Transaction Failed\\\");\\n    }\\n\\n    /**\\n     * @dev This will be called by the safe at tx time and prevent module disable on pods with admins\\n     * @param safe safe address\\n     * @param isLocked safe address\\n     */\\n    function setModuleLock(address safe, bool isLocked) internal {\\n        areModulesLocked[safe] = isLocked;\\n    }\\n\\n    /**\\n     * @dev This will be called by the safe at execution time time\\n     * @param to Destination address of Safe transaction.\\n     * @param value Ether value of Safe transaction.\\n     * @param data Data payload of Safe transaction.\\n     * @param operation Operation type of Safe transaction.\\n     * @param safeTxGas Gas that should be used for the Safe transaction.\\n     * @param baseGas Gas costs that are independent of the transaction execution(e.g. base transaction fee, signature check, payment of the refund)\\n     * @param gasPrice Gas price that should be used for the payment calculation.\\n     * @param gasToken Token address (or 0 if ETH) that is used for the payment.\\n     * @param refundReceiver Address of receiver of gas payment (or 0 if tx.origin).\\n     * @param signatures Packed signature data ({bytes32 r}{bytes32 s}{uint8 v})\\n     * @param msgSender Account executing safe transaction\\n     */\\n    function checkTransaction(\\n        address to,\\n        uint256 value,\\n        bytes memory data,\\n        Enum.Operation operation,\\n        uint256 safeTxGas,\\n        uint256 baseGas,\\n        uint256 gasPrice,\\n        address gasToken,\\n        address payable refundReceiver,\\n        bytes memory signatures,\\n        address msgSender\\n    ) external view override {\\n        address safe = msg.sender;\\n        // if safe isn't locked return\\n        if (!areModulesLocked[safe]) return;\\n        if (data.length >= 4) {\\n            require(\\n                bytes4(data) != ENCODED_SIG_ENABLE_MOD,\\n                \\\"Cannot Enable Modules\\\"\\n            );\\n            require(\\n                bytes4(data) != ENCODED_SIG_DISABLE_MOD,\\n                \\\"Cannot Disable Modules\\\"\\n            );\\n            require(\\n                bytes4(data) != ENCODED_SIG_SET_GUARD,\\n                \\\"Cannot Change Guard\\\"\\n            );\\n        }\\n    }\\n\\n    function checkAfterExecution(bytes32, bool) external view override {}\\n\\n    // TODO: move to library\\n    // Used in a delegate call to enable module add on setup\\n    function enableModule(address module) external {\\n        require(module == address(0));\\n    }\\n\\n    function delegateSetup(address _context) external {\\n        this.enableModule(_context);\\n    }\\n}\\n\",\"keccak256\":\"0x698630fd42e3a34b4d72c7c08fd5a6503dae275f66036f1e808df931f384dcef\"},\"contracts/ens/IPodEnsRegistrar.sol\":{\"content\":\"pragma solidity 0.8.7;\\n\\ninterface IPodEnsRegistrar {\\n    function getRootNode() external view returns (bytes32);\\n\\n    function registerPod(\\n        bytes32 label,\\n        address podSafe,\\n        address podCreator\\n    ) external returns (address);\\n\\n    function register(bytes32 label, address owner) external;\\n\\n    function setText(\\n        bytes32 node,\\n        string calldata key,\\n        string calldata value\\n    ) external;\\n\\n    function addressToNode(address input) external returns (bytes32);\\n\\n    function getEnsNode(bytes32 label) external view returns (bytes32);\\n}\\n\",\"keccak256\":\"0x4056e292380226bd5c476e7166db9a52a94bf1b0f638b3d812c3f06f73f77d88\"},\"contracts/interfaces/IControllerBase.sol\":{\"content\":\"pragma solidity 0.8.7;\\n\\ninterface IControllerBase {\\n    /**\\n     * @param operator The account address that initiated the action\\n     * @param from The account address sending the membership token\\n     * @param to The account address recieving the membership token\\n     * @param ids An array of membership token ids to be transfered\\n     * @param amounts The amount of each membership token type to transfer\\n     * @param data Arbitrary data\\n     */\\n    function beforeTokenTransfer(\\n        address operator,\\n        address from,\\n        address to,\\n        uint256[] memory ids,\\n        uint256[] memory amounts,\\n        bytes memory data\\n    ) external;\\n\\n    function updatePodState(\\n        uint256 _podId,\\n        address _podAdmin,\\n        address _safeAddress\\n    ) external;\\n}\\n\",\"keccak256\":\"0x2a222abad610b283ee448b4bafca558b7804d1318b5ab72788dab525877f448b\"},\"contracts/interfaces/IControllerRegistry.sol\":{\"content\":\"pragma solidity 0.8.7;\\n\\n\\ninterface IControllerRegistry{\\n\\n    /**\\n     * @param _controller Address to check if registered as a controller\\n     * @return Boolean representing if the address is a registered as a controller\\n     */\\n    function isRegistered(address _controller) external view returns (bool);\\n\\n}\\n\",\"keccak256\":\"0x02e7853f4677cafd67f4a486cea842929067ca7b764b468e54922180998d5c4c\"},\"contracts/interfaces/IControllerV1.sol\":{\"content\":\"pragma solidity 0.8.7;\\n\\nimport \\\"./IControllerBase.sol\\\";\\n\\ninterface IControllerV1 is IControllerBase {\\n    function updatePodEnsRegistrar(address _podEnsRegistrar) external;\\n\\n    /**\\n     * @param _members The addresses of the members of the pod\\n     * @param threshold The number of members that are required to sign a transaction\\n     * @param _admin The address of the pod admin\\n     * @param _label label hash of pod name (i.e labelhash('mypod'))\\n     * @param _ensString string of pod ens name (i.e.'mypod.pod.xyz')\\n     */\\n    function createPod(\\n        address[] memory _members,\\n        uint256 threshold,\\n        address _admin,\\n        bytes32 _label,\\n        string memory _ensString,\\n        uint256 expectedPodId,\\n        string memory _imageUrl\\n    ) external;\\n\\n    /**\\n     * @dev Used to create a pod with an existing safe\\n     * @dev Will automatically distribute membership NFTs to current safe members\\n     * @param _admin The address of the pod admin\\n     * @param _safe The address of existing safe\\n     * @param _label label hash of pod name (i.e labelhash('mypod'))\\n     * @param _ensString string of pod ens name (i.e.'mypod.pod.xyz')\\n     */\\n    function createPodWithSafe(\\n        address _admin,\\n        address _safe,\\n        bytes32 _label,\\n        string memory _ensString,\\n        uint256 expectedPodId,\\n        string memory _imageUrl\\n    ) external;\\n\\n    /**\\n     * @dev Allows admin to unlock the safe modules and allow them to be edited by members\\n     * @param _podId The id number of the pod\\n     * @param _isLocked true - pod modules cannot be added/removed\\n     */\\n    function setPodModuleLock(uint256 _podId, bool _isLocked) external;\\n\\n    /**\\n     * @param _podId The id number of the pod\\n     * @param _newAdmin The address of the new pod admin\\n     */\\n    function updatePodAdmin(uint256 _podId, address _newAdmin) external;\\n\\n    /**\\n     * @dev This will nullify all pod state on this controller\\n     * @dev Update state on _newController\\n     * @dev Update controller to _newController in Safe and MemberToken\\n     * @param _podId The id number of the pod\\n     * @param _newController The address of the new pod controller\\n     * @param _prevModule The module that points to the orca module in the safe's ModuleManager linked list\\n     */\\n    function migratePodController(\\n        uint256 _podId,\\n        address _newController,\\n        address _prevModule\\n    ) external;\\n}\\n\",\"keccak256\":\"0x03f309a91444b78f8fe468c0000d08f8b2868da8f588547ff68eb88732d5af2a\"},\"contracts/interfaces/IGnosisSafe.sol\":{\"content\":\"pragma solidity 0.8.7;\\n\\ninterface IGnosisSafe {\\n\\n    enum Operation {Call, DelegateCall}\\n\\n    /// @dev Allows a Module to execute a Safe transaction without any further confirmations.\\n    /// @param to Destination address of module transaction.\\n    /// @param value Ether value of module transaction.\\n    /// @param data Data payload of module transaction.\\n    /// @param operation Operation type of module transaction.\\n    function execTransactionFromModule(\\n        address to,\\n        uint256 value,\\n        bytes calldata data,\\n        Operation operation\\n    ) external returns (bool success);\\n\\n    /// @dev Returns array of owners.\\n    /// @return Array of Safe owners.\\n    function getOwners() external view returns (address[] memory);\\n\\n    function isOwner(address owner) external view returns (bool);\\n\\n    function getThreshold() external returns (uint256);\\n\\n    /// @dev Returns array of modules.\\n    /// @param start Start of the page.\\n    /// @param pageSize Maximum number of modules that should be returned.\\n    /// @return array Array of modules.\\n    /// @return next Start of the next page.\\n    function getModulesPaginated(address start, uint256 pageSize)\\n        external \\n        view\\n        returns (address[] memory array, address next);\\n\\n    /// @dev Returns if an module is enabled\\n    /// @return True if the module is enabled\\n    function isModuleEnabled(address module) external view returns (bool);\\n\\n    /// @dev Set a guard that checks transactions before execution\\n    /// @param guard The address of the guard to be used or the 0 address to disable the guard\\n    function setGuard(address guard) external;\\n}\\n\",\"keccak256\":\"0x779e439671ea553898fea0f3841c342c3a28903837d077bdd70fc64ff85b5646\"},\"contracts/interfaces/IGnosisSafeProxyFactory.sol\":{\"content\":\"pragma solidity 0.8.7;\\n\\ninterface IGnosisSafeProxyFactory {\\n    /// @dev Allows to create new proxy contact and execute a message call to the new proxy within one transaction.\\n    /// @param singleton Address of singleton contract.\\n    /// @param data Payload for message call sent to new proxy contract.\\n    function createProxy(address singleton, bytes memory data)\\n        external\\n        returns (address);\\n}\\n\",\"keccak256\":\"0x1bddd6110ad627fda30e8735f689e46496069633f27bc0c29ecab5043fb33b20\"},\"contracts/interfaces/IMemberToken.sol\":{\"content\":\"pragma solidity 0.8.7;\\n\\nimport \\\"@openzeppelin/contracts/token/ERC1155/IERC1155.sol\\\";\\n\\ninterface IMemberToken is IERC1155 {\\n    /**\\n     * @dev Total amount of tokens in with a given id.\\n     */\\n    function totalSupply(uint256 id) external view returns (uint256);\\n\\n    /**\\n     * @dev Indicates weither any token exist with a given id, or not.\\n     */\\n    function exists(uint256 id) external view returns (bool);\\n\\n    function getNextAvailablePodId() external view returns (uint256);\\n\\n    /**\\n     * @param _podId The pod id number \\n     * @param _newController The address of the new controller\\n     */\\n    function migrateMemberController(uint256 _podId, address _newController)\\n        external;\\n\\n    /**\\n     * @param _account The account address to transfer the membership token to\\n     * @param _id The membership token id to mint\\n     * @param data Arbitrary data\\n     */\\n    function mint(\\n        address _account,\\n        uint256 _id,\\n        bytes memory data\\n    ) external;\\n\\n    /**\\n     * @param _accounts The account addresses to transfer the membership tokens to\\n     * @param _id The membership token id to mint\\n     * @param data Arbitrary data\\n     */\\n    function mintSingleBatch(\\n        address[] memory _accounts,\\n        uint256 _id,\\n        bytes memory data\\n    ) external;\\n\\n    function createPod(address[] memory _accounts, bytes memory data) external returns (uint256);\\n}\\n\",\"keccak256\":\"0xc597ff76776d203c80fcd6b90440f617858bdd3103f9ad33500919781e9404a0\"}},\"version\":1}",
  "bytecode": "0x6101206040523480156200001257600080fd5b5060405162003c7d38038062003c7d8339810160408190526200003591620002df565b6001600160601b0319606085811b821660805284811b821660a05282901b1660c05262000069620000633390565b62000270565b6001600160a01b038616620000b75760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b60448201526064015b60405180910390fd5b6001600160a01b038516620001015760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401620000ae565b6001600160a01b0384166200014b5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401620000ae565b6001600160a01b038316620001955760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401620000ae565b6001600160a01b038216620001df5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401620000ae565b6001600160a01b038116620002295760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401620000ae565b50606094851b6001600160601b031990811660e0529390941b909216610100525050600280546001600160a01b0319166001600160a01b0390921691909117905562000360565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b80516001600160a01b0381168114620002da57600080fd5b919050565b60008060008060008060c08789031215620002f957600080fd5b6200030487620002c2565b95506200031460208801620002c2565b94506200032460408801620002c2565b93506200033460608801620002c2565b92506200034460808801620002c2565b91506200035460a08801620002c2565b90509295509295509295565b60805160601c60a05160601c60c05160601c60e05160601c6101005160601c613891620003ec600039600081816104b701528181610aa4015261123901526000818161035b0152818161140a01528181611509015261197701526000818161055e0152611fab015260008181610490015261208b0152600081816104de015261205e01526138916000f3fe608060405234801561001057600080fd5b50600436106102415760003560e01c806392c5961a11610145578063dd9f4e63116100bd578063e40225641161008c578063f0f39f5d11610071578063f0f39f5d14610604578063f2fde38b14610617578063fe258da71461062a57600080fd5b8063e4022564146105b6578063e8664654146105dd57600080fd5b8063dd9f4e6314610546578063e100404514610559578063e1fc2cc114610580578063e365490f1461059357600080fd5b8063bbc4541b11610114578063c7e2a4fc116100f9578063c7e2a4fc14610500578063cf00cec914610513578063d5a844911461053357600080fd5b8063bbc4541b146104b2578063be5405d2146104d957600080fd5b806392c5961a146104265780639327136814610466578063afe5c8ff14610478578063b06a41201461048b57600080fd5b8063610b5925116101d857806375f0bb52116101a7578063827be3cc1161018c578063827be3cc146103e45780638d092f5d146103ec5780638da5cb5b1461041557600080fd5b806375f0bb52146103be5780637d49f1db146103d157600080fd5b8063610b59251461037d57806362067cd114610390578063715018a6146103a357806374d4f6d0146103ab57600080fd5b80633ef3a75c116102145780633ef3a75c146102fa578063436f8d031461030d5780634a9b5db71461034e5780635cb543841461035657600080fd5b806301ffc9a71461024657806326a13d301461026e578063346e5c48146102b757806337c591fa146102cc575b600080fd5b6102596102543660046132cf565b61063d565b60405190151581526020015b60405180910390f35b6102aa6040518060400160405280601681526020017f64656c656761746553657475702861646472657373290000000000000000000081525081565b60405161026591906135c2565b6102ca6102c5366004613312565b6106a6565b005b6102ec6102da366004612e44565b60036020526000908152604090205481565b604051908152602001610265565b6102ca610308366004612f76565b610875565b61033661031b3660046132f9565b6005602052600090815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610265565b6102aa610a14565b6103367f000000000000000000000000000000000000000000000000000000000000000081565b6102ca61038b366004612e44565b610a30565b6102ca61039e366004613337565b610a47565b6102ca610cf6565b6102ca6103b9366004612e44565b610d5c565b6102ca6103cc366004612ff7565b610db8565b6102ca6103df366004613158565b610f28565b6102aa610f4f565b6103366103fa3660046132f9565b6004602052600090815260409020546001600160a01b031681565b6001546001600160a01b0316610336565b61044d7fe009cfde76304ae4f68fc946b1f438cd7befba1599b95737584c332ee622b62981565b6040516001600160e01b03199091168152602001610265565b6102ca6104743660046132aa565b5050565b600254610336906001600160a01b031681565b6103367f000000000000000000000000000000000000000000000000000000000000000081565b6103367f000000000000000000000000000000000000000000000000000000000000000081565b6103367f000000000000000000000000000000000000000000000000000000000000000081565b61025961050e366004612e44565b610f6b565b610526610521366004612e44565b610ffe565b604051610265919061347e565b6102ca610541366004612e44565b611075565b6102ca6105543660046132aa565b611139565b6103367f000000000000000000000000000000000000000000000000000000000000000081565b6102ca61058e366004613337565b6111d2565b6102596105a1366004612e44565b60006020819052908152604090205460ff1681565b61044d7fe19a9dd9915bcd0262210387ba8f90d343aab4a5989aaae0ed7f2b6edddaff1a81565b61044d7f610b5925afff994a89367f36d1195efacee9e03780fb400aacb2ff998042ec3581565b6102ca610612366004612eb7565b6114fe565b6102ca610625366004612e44565b611760565b610259610638366004612e7e565b61183f565b60006001600160e01b031982167fe6d7a83a0000000000000000000000000000000000000000000000000000000014806106a057506001600160e01b031982167f01ffc9a700000000000000000000000000000000000000000000000000000000145b92915050565b6000828152600560209081526040808320546004909252909120546001600160a01b039182169116806107205760405162461bcd60e51b815260206004820152601160248201527f506f6420646f65736e277420657869737400000000000000000000000000000060448201526064015b60405180910390fd5b6001600160a01b03821661078b57336001600160a01b038216146107865760405162461bcd60e51b815260206004820152601b60248201527f4f6e6c7920736166652063616e20616464206e65772061646d696e00000000006044820152606401610717565b6107e3565b336001600160a01b038316146107e35760405162461bcd60e51b815260206004820152601b60248201527f4f6e6c792061646d696e2063616e207570646174652061646d696e00000000006044820152606401610717565b6001600160a01b038082166000908152602081905260409020805460ff1916918516151591909117905560008481526005602090815260409182902080546001600160a01b0319166001600160a01b0387169081179091558251878152918201527ffef38cfc44da305e6203142455e0a2b129109e8fd7b40914acff6874f170e3df910160405180910390a150505050565b6001600160a01b0385166108cb5760405162461bcd60e51b815260206004820152601460248201527f696e76616c6964207361666520616464726573730000000000000000000000006044820152606401610717565b6001600160a01b038516600090815260036020526040902054156109315760405162461bcd60e51b815260206004820152601360248201527f7361666520616c726561647920696e20757365000000000000000000000000006044820152606401610717565b61093a85610f6b565b6109865760405162461bcd60e51b815260206004820152601b60248201527f73616665206d6f64756c65206d75737420626520656e61626c656400000000006044820152606401610717565b610990853361183f565b806109a35750336001600160a01b038616145b6109ef5760405162461bcd60e51b815260206004820152601d60248201527f63616c6c6572206d7573742062652073616665206f72206d656d6265720000006044820152606401610717565b60006109fa86610ffe565b9050610a0b818789888888886118dc565b50505050505050565b6040518060800160405280605a81526020016137bc605a913981565b6001600160a01b03811615610a4457600080fd5b50565b6001600160a01b038116610a8f5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610717565b60405163c3c5a54760e01b81523360048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063c3c5a5479060240160206040518083038186803b158015610aee57600080fd5b505afa158015610b02573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b269190613274565b610b725760405162461bcd60e51b815260206004820152601960248201527f436f6e74726f6c6c6572206e6f742072656769737465726564000000000000006044820152606401610717565b6000838152600560205260409020546001600160a01b0316158015610bac57506000838152600460205260409020546001600160a01b0316155b8015610bce57506001600160a01b038116600090815260036020526040902054155b610c1a5760405162461bcd60e51b815260206004820152601260248201527f506f6420616c72656164792065786973747300000000000000000000000000006044820152606401610717565b6001600160a01b03821615610c6e57600083815260056020908152604080832080546001600160a01b0319166001600160a01b038781169190911790915584168352908290529020805460ff191660011790555b600083815260046020908152604080832080546001600160a01b0319166001600160a01b038616908117909155835260039091529020839055610cb081611d98565b604080518481526001600160a01b03841660208201527ffef38cfc44da305e6203142455e0a2b129109e8fd7b40914acff6874f170e3df910160405180910390a1505050565b6001546001600160a01b03163314610d505760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610717565b610d5a6000611ead565b565b60405163610b592560e01b81526001600160a01b0382166004820152309063610b592590602401600060405180830381600087803b158015610d9d57600080fd5b505af1158015610db1573d6000803e3d6000fd5b5050505050565b3360008181526020819052604090205460ff16610dd55750610f1b565b60048a5110610f195763610b592560e01b610def8b6136a9565b6001600160e01b0319161415610e475760405162461bcd60e51b815260206004820152601560248201527f43616e6e6f7420456e61626c65204d6f64756c657300000000000000000000006044820152606401610717565b637004e7ef60e11b610e588b6136a9565b6001600160e01b0319161415610eb05760405162461bcd60e51b815260206004820152601660248201527f43616e6e6f742044697361626c65204d6f64756c6573000000000000000000006044820152606401610717565b63e19a9dd960e01b610ec18b6136a9565b6001600160e01b0319161415610f195760405162461bcd60e51b815260206004820152601360248201527f43616e6e6f74204368616e6765204775617264000000000000000000000000006044820152606401610717565b505b5050505050505050505050565b6000610f348888611eff565b9050610f45888288888888886118dc565b5050505050505050565b6040518060800160405280604681526020016138166046913981565b6040517f2d9ad53d0000000000000000000000000000000000000000000000000000000081523060048201526000906001600160a01b03831690632d9ad53d9060240160206040518083038186803b158015610fc657600080fd5b505afa158015610fda573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106a09190613274565b6060816001600160a01b031663a0e67e2b6040518163ffffffff1660e01b815260040160006040518083038186803b15801561103957600080fd5b505afa15801561104d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106a091908101906130dc565b6001546001600160a01b031633146110cf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610717565b6001600160a01b0381166111175760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610717565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6000828152600560205260409020546001600160a01b0316331461119f5760405162461bcd60e51b815260206004820181905260248201527f4d7573742062652061646d696e20746f20736574206d6f64756c65206c6f636b6044820152606401610717565b6000828152600460209081526040808320546001600160a01b03168352908290529020805460ff19168215151790555050565b6001600160a01b03821661121a5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610717565b60405163c3c5a54760e01b81526001600160a01b0383811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063c3c5a5479060240160206040518083038186803b15801561127b57600080fd5b505afa15801561128f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112b39190613274565b6112ff5760405162461bcd60e51b815260206004820152601960248201527f436f6e74726f6c6c6572206e6f742072656769737465726564000000000000006044820152606401610717565b6000838152600560209081526040808320546004909252909120546001600160a01b0391821691163382148061133d5750336001600160a01b038216145b6113895760405162461bcd60e51b815260206004820152601360248201527f55736572206e6f7420617574686f72697a6564000000000000000000000000006044820152606401610717565b600085815260056020908152604080832080546001600160a01b0319908116909155600480845282852080549092169091556001600160a01b038581168552600390935281842093909355517f82786654000000000000000000000000000000000000000000000000000000008152918201879052858116602483015285917f000000000000000000000000000000000000000000000000000000000000000090911690638278665490604401600060405180830381600087803b15801561145057600080fd5b505af1158015611464573d6000803e3d6000fd5b5050505061147382868661218e565b6040517f62067cd1000000000000000000000000000000000000000000000000000000008152600481018790526001600160a01b03848116602483015283811660448301528216906362067cd190606401600060405180830381600087803b1580156114de57600080fd5b505af11580156114f2573d6000803e3d6000fd5b50505050505050505050565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146115765760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420417574686f72697a65640000000000000000000000000000000000006044820152606401610717565b6001600160a01b038616301480156115ab5750600160ff16816000815181106115a1576115a161376c565b016020015160f81c145b156115b557611758565b60005b8351811015610a0b5760008482815181106115d5576115d561376c565b60209081029190910181015160008181526004835260408082205460059094529020549092506001600160a01b039182169190811690891661169f57816001600160a01b03168a6001600160a01b031614806116425750806001600160a01b03168a6001600160a01b0316145b8061165557506001600160a01b038a1630145b6116905760405162461bcd60e51b815260206004820152600c60248201526b139bc8149d5b195cc814d95d60a21b6044820152606401610717565b61169a88836124e5565b611741565b6001600160a01b03881661173657816001600160a01b03168a6001600160a01b031614806116de5750806001600160a01b03168a6001600160a01b0316145b806116f157506001600160a01b038a1630145b61172c5760405162461bcd60e51b815260206004820152600c60248201526b139bc8149d5b195cc814d95d60a21b6044820152606401610717565b61169a8983612696565b611741898984612972565b5050506001816117519190613666565b90506115b8565b505050505050565b6001546001600160a01b031633146117ba5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610717565b6001600160a01b0381166118365760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610717565b610a4481611ead565b6040517f2f54bf6e0000000000000000000000000000000000000000000000000000000081526001600160a01b03828116600483015260009190841690632f54bf6e9060240160206040518083038186803b15801561189d57600080fd5b505afa1580156118b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118d59190613274565b9392505050565b604080516001808252818301909252600091602082018180368337019050509050600160f81b816000815181106119155761191561376c565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506040517f9aa0055e0000000000000000000000000000000000000000000000000000000081526000906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690639aa0055e906119ae908c908690600401613491565b602060405180830381600087803b1580156119c857600080fd5b505af11580156119dc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a009190613291565b9050838114611a515760405162461bcd60e51b815260206004820152601e60248201527f706f64206964206469646e2774206d617463682c2074727920616761696e00006044820152606401610717565b7fb298a97e1ae845f4ac62f176cde255ccfe5ac42197eae12459c99761bad66a4881898988604051611a8694939291906135d5565b60405180910390a1604080518281526001600160a01b03891660208201527ffef38cfc44da305e6203142455e0a2b129109e8fd7b40914acff6874f170e3df910160405180910390a16001600160a01b03871615611b29576001600160a01b0388166000908152602081905260409020805460ff19166001179055600081815260056020526040902080546001600160a01b0319166001600160a01b0389161790555b600081815260046020818152604080842080546001600160a01b0319166001600160a01b038e8116918217909255808652600390935281852086905560025491517f98eed3e90000000000000000000000000000000000000000000000000000000081529384018b9052602484019290925233604484015216906398eed3e990606401602060405180830381600087803b158015611bc657600080fd5b505af1158015611bda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bfe9190612e61565b9050611c0b898288612b14565b6002546040517fcfeac6a5000000000000000000000000000000000000000000000000000000008152600481018990526000916001600160a01b03169063cfeac6a59060240160206040518083038186803b158015611c6957600080fd5b505afa158015611c7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ca19190613291565b6002546040517f10f13a8c0000000000000000000000000000000000000000000000000000000081529192506001600160a01b0316906310f13a8c90611ced9084908990600401613528565b600060405180830381600087803b158015611d0757600080fd5b505af1158015611d1b573d6000803e3d6000fd5b50506002546001600160a01b031691506310f13a8c905082611d3c86612ba0565b6040518363ffffffff1660e01b8152600401611d59929190613575565b600060405180830381600087803b158015611d7357600080fd5b505af1158015611d87573d6000803e3d6000fd5b505050505050505050505050505050565b60405130602482015260009060440160408051601f198184030181529181526020820180516001600160e01b031663e19a9dd960e01b1790525163468721a760e01b81529091506000906001600160a01b0384169063468721a790611e07908690859087908290600401613427565b602060405180830381600087803b158015611e2157600080fd5b505af1158015611e35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e599190613274565b905080611ea85760405162461bcd60e51b815260206004820152601660248201527f436f756c64206e6f7420656e61626c65206775617264000000000000000000006044820152606401610717565b505050565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604080518082018252601681527f64656c656761746553657475702861646472657373290000000000000000000060208201529051306024820152600091829160440160408051601f198184030181529082905291611f5d916133e9565b60405180910390206001600160e01b0319166020820180516001600160e01b0383818316178352505050509050600060405180608001604052806046815260200161381660469139858530857f00000000000000000000000000000000000000000000000000000000000000006000806000604051602401611fe69897969594939291906134bf565b60408051601f198184030181529082905291612001916133e9565b60408051918290039091206020830180516001600160e01b03166001600160e01b0319909216919091179052517f61b69abd0000000000000000000000000000000000000000000000000000000081529091506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906361b69abd906120b5907f0000000000000000000000000000000000000000000000000000000000000000908590600401613405565b602060405180830381600087803b1580156120cf57600080fd5b505af19250505080156120ff575060408051601f3d908101601f191682019092526120fc91810190612e61565b60015b61217b573d80801561212d576040519150601f19603f3d011682016040523d82523d6000602084013e612132565b606091505b5060405162461bcd60e51b815260206004820152601d60248201527f4372656174652050726f787920576974682044617461204661696c65640000006044820152606401610717565b61218481611d98565b92506106a0915050565b6040516001600160a01b038316602482015260009060440160408051601f198184030181529181526020820180516001600160e01b031663610b592560e01b1790525163468721a760e01b81529091506000906001600160a01b0386169063468721a790612206908890859087908290600401613427565b602060405180830381600087803b15801561222057600080fd5b505af1158015612234573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122589190613274565b9050806122a75760405162461bcd60e51b815260206004820152601a60248201527f4d6967726174696f6e206661696c6564206f6e20656e61626c650000000000006044820152606401610717565b6040517fcc2f84520000000000000000000000000000000000000000000000000000000081526001600160a01b038481166004830152600160248301526000919087169063cc2f84529060440160006040518083038186803b15801561230c57600080fd5b505afa158015612320573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526123489190810190613111565b509050306001600160a01b0316816000815181106123685761236861376c565b60200260200101516001600160a01b0316146123c65760405162461bcd60e51b815260206004820152601460248201527f696e636f727265637420707265764d6f64756c650000000000000000000000006044820152606401610717565b6040516001600160a01b038516602482015230604482015260009060640160408051601f198184030181529181526020820180516001600160e01b0316637004e7ef60e11b1790525163468721a760e01b81529091506000906001600160a01b0389169063468721a790612444908b90859087908290600401613427565b602060405180830381600087803b15801561245e57600080fd5b505af1158015612472573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124969190613274565b905080610f455760405162461bcd60e51b815260206004820152601b60248201527f4d6967726174696f6e206661696c6564206f6e2064697361626c6500000000006044820152606401610717565b6000816001600160a01b031663e75235b86040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561252257600080fd5b505af1158015612536573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061255a9190613291565b6040516001600160a01b03851660248201526044810182905290915060009060640160408051601f198184030181529181526020820180516001600160e01b03167f0d582f13000000000000000000000000000000000000000000000000000000001790525163468721a760e01b81529091506000906001600160a01b0385169063468721a7906125f5908790859087908290600401613427565b602060405180830381600087803b15801561260f57600080fd5b505af1158015612623573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126479190613274565b905080610db15760405162461bcd60e51b815260206004820152601960248201527f4d6f64756c65205472616e73616374696f6e204661696c6564000000000000006044820152606401610717565b6000816001600160a01b031663e75235b86040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156126d357600080fd5b505af11580156126e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061270b9190613291565b90506000826001600160a01b031663a0e67e2b6040518163ffffffff1660e01b815260040160006040518083038186803b15801561274857600080fd5b505afa15801561275c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261278491908101906130dc565b90506000805b825181101561280d57856001600160a01b03168382815181106127af576127af61376c565b60200260200101516001600160a01b031614156127fb57806127d457600191506127fb565b826127e0600183613692565b815181106127f0576127f061376c565b602002602001015191505b8061280581613711565b91505061278a565b50826001835161281d9190613692565b10156128315761282e600184613692565b92505b6040516001600160a01b038083166024830152861660448201526064810184905260009060840160408051601f198184030181529181526020820180516001600160e01b03167ff8dc5dd9000000000000000000000000000000000000000000000000000000001790525163468721a760e01b81529091506000906001600160a01b0387169063468721a7906128d1908990859087908290600401613427565b602060405180830381600087803b1580156128eb57600080fd5b505af11580156128ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129239190613274565b905080610a0b5760405162461bcd60e51b815260206004820152601960248201527f4d6f64756c65205472616e73616374696f6e204661696c6564000000000000006044820152606401610717565b6000816001600160a01b031663a0e67e2b6040518163ffffffff1660e01b815260040160006040518083038186803b1580156129ad57600080fd5b505afa1580156129c1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526129e991908101906130dc565b90506000805b8251811015612a7257856001600160a01b0316838281518110612a1457612a1461376c565b60200260200101516001600160a01b03161415612a605780612a395760019150612a60565b82612a45600183613692565b81518110612a5557612a5561376c565b602002602001015191505b80612a6a81613711565b9150506129ef565b506040516001600160a01b03808316602483015280871660448301528516606482015260009060840160408051601f198184030181529181526020820180516001600160e01b03167fe318b52b000000000000000000000000000000000000000000000000000000001790525163468721a760e01b81529091506000906001600160a01b0386169063468721a7906128d1908890859087908290600401613427565b600081604051602401612b2791906135c2565b60408051601f198184030181529181526020820180516001600160e01b03167fc47f0027000000000000000000000000000000000000000000000000000000001790525163468721a760e01b81529091506000906001600160a01b0386169063468721a7906125f5908790859087908290600401613427565b606081612be057505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612c0a5780612bf481613711565b9150612c039050600a8361367e565b9150612be4565b60008167ffffffffffffffff811115612c2557612c25613782565b6040519080825280601f01601f191660200182016040528015612c4f576020820181803683370190505b5090505b8415612cd257612c64600183613692565b9150612c71600a8661372c565b612c7c906030613666565b60f81b818381518110612c9157612c9161376c565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612ccb600a8661367e565b9450612c53565b949350505050565b8035612ce581613798565b919050565b600082601f830112612cfb57600080fd5b81516020612d10612d0b83613642565b613611565b80838252828201915082860187848660051b8901011115612d3057600080fd5b60005b85811015612d58578151612d4681613798565b84529284019290840190600101612d33565b5090979650505050505050565b600082601f830112612d7657600080fd5b81356020612d86612d0b83613642565b80838252828201915082860187848660051b8901011115612da657600080fd5b60005b85811015612d5857813584529284019290840190600101612da9565b600082601f830112612dd657600080fd5b813567ffffffffffffffff811115612df057612df0613782565b612e03601f8201601f1916602001613611565b818152846020838601011115612e1857600080fd5b816020850160208301376000918101602001919091529392505050565b803560028110612ce557600080fd5b600060208284031215612e5657600080fd5b81356118d581613798565b600060208284031215612e7357600080fd5b81516118d581613798565b60008060408385031215612e9157600080fd5b8235612e9c81613798565b91506020830135612eac81613798565b809150509250929050565b60008060008060008060c08789031215612ed057600080fd5b8635612edb81613798565b95506020870135612eeb81613798565b94506040870135612efb81613798565b9350606087013567ffffffffffffffff80821115612f1857600080fd5b612f248a838b01612d65565b94506080890135915080821115612f3a57600080fd5b612f468a838b01612d65565b935060a0890135915080821115612f5c57600080fd5b50612f6989828a01612dc5565b9150509295509295509295565b60008060008060008060c08789031215612f8f57600080fd5b8635612f9a81613798565b95506020870135612faa81613798565b945060408701359350606087013567ffffffffffffffff80821115612fce57600080fd5b612fda8a838b01612dc5565b94506080890135935060a0890135915080821115612f5c57600080fd5b60008060008060008060008060008060006101608c8e03121561301957600080fd5b6130228c612cda565b9a5060208c0135995067ffffffffffffffff8060408e0135111561304557600080fd5b6130558e60408f01358f01612dc5565b995061306360608e01612e35565b985060808d0135975060a08d0135965060c08d0135955061308660e08e01612cda565b94506130956101008e01612cda565b9350806101208e013511156130a957600080fd5b506130bb8d6101208e01358e01612dc5565b91506130ca6101408d01612cda565b90509295989b509295989b9093969950565b6000602082840312156130ee57600080fd5b815167ffffffffffffffff81111561310557600080fd5b612cd284828501612cea565b6000806040838503121561312457600080fd5b825167ffffffffffffffff81111561313b57600080fd5b61314785828601612cea565b9250506020830151612eac81613798565b600080600080600080600060e0888a03121561317357600080fd5b873567ffffffffffffffff8082111561318b57600080fd5b818a0191508a601f83011261319f57600080fd5b813560206131af612d0b83613642565b8083825282820191508286018f848660051b89010111156131cf57600080fd5b600096505b848710156131fb5780356131e781613798565b8352600196909601959183019183016131d4565b509b50508b01359850613212905060408b01612cda565b965060608a0135955060808a013591508082111561322f57600080fd5b61323b8b838c01612dc5565b945060a08a0135935060c08a013591508082111561325857600080fd5b506132658a828b01612dc5565b91505092959891949750929550565b60006020828403121561328657600080fd5b81516118d5816137ad565b6000602082840312156132a357600080fd5b5051919050565b600080604083850312156132bd57600080fd5b823591506020830135612eac816137ad565b6000602082840312156132e157600080fd5b81356001600160e01b0319811681146118d557600080fd5b60006020828403121561330b57600080fd5b5035919050565b6000806040838503121561332557600080fd5b823591506020830135612eac81613798565b60008060006060848603121561334c57600080fd5b83359250602084013561335e81613798565b9150604084013561336e81613798565b809150509250925092565b600081518084526020808501945080840160005b838110156133b25781516001600160a01b03168752958201959082019060010161338d565b509495945050505050565b600081518084526133d58160208601602086016136e1565b601f01601f19169290920160200192915050565b600082516133fb8184602087016136e1565b9190910192915050565b6001600160a01b0383168152604060208201526000612cd260408301846133bd565b6001600160a01b038516815283602082015260806040820152600061344f60808301856133bd565b90506002831061346f57634e487b7160e01b600052602160045260246000fd5b82606083015295945050505050565b6020815260006118d56020830184613379565b6040815260006134a46040830185613379565b82810360208401526134b681856133bd565b95945050505050565b60006101008083526134d38184018c613379565b90508960208401526001600160a01b03808a16604085015283820360608501526134fd828a6133bd565b978116608085015295861660a0840152505060c081019290925290911660e090910152949350505050565b82815260606020820152600660608201527f6176617461720000000000000000000000000000000000000000000000000000608082015260a060408201526000612cd260a08301846133bd565b82815260606020820152600560608201527f706f644964000000000000000000000000000000000000000000000000000000608082015260a060408201526000612cd260a08301846133bd565b6020815260006118d560208301846133bd565b84815260006001600160a01b0380861660208401528085166040840152506080606083015261360760808301846133bd565b9695505050505050565b604051601f8201601f1916810167ffffffffffffffff8111828210171561363a5761363a613782565b604052919050565b600067ffffffffffffffff82111561365c5761365c613782565b5060051b60200190565b6000821982111561367957613679613740565b500190565b60008261368d5761368d613756565b500490565b6000828210156136a4576136a4613740565b500390565b6000815160208301516001600160e01b0319808216935060048310156136d95780818460040360031b1b83161693505b505050919050565b60005b838110156136fc5781810151838201526020016136e4565b8381111561370b576000848401525b50505050565b600060001982141561372557613725613740565b5060010190565b60008261373b5761373b613756565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610a4457600080fd5b8015158114610a4457600080fdfe657865635472616e73616374696f6e28616464726573732c75696e743235362c62797465732c75696e74382c75696e743235362c75696e743235362c75696e743235362c616464726573732c616464726573732c627974657329736574757028616464726573735b5d2c75696e743235362c616464726573732c62797465732c616464726573732c616464726573732c75696e743235362c6164647265737329a26469706673582212205cdab7934323e4b3adb74838516f27444536f65fc4c91a6126c85f056b073d9964736f6c63430008070033",
  "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106102415760003560e01c806392c5961a11610145578063dd9f4e63116100bd578063e40225641161008c578063f0f39f5d11610071578063f0f39f5d14610604578063f2fde38b14610617578063fe258da71461062a57600080fd5b8063e4022564146105b6578063e8664654146105dd57600080fd5b8063dd9f4e6314610546578063e100404514610559578063e1fc2cc114610580578063e365490f1461059357600080fd5b8063bbc4541b11610114578063c7e2a4fc116100f9578063c7e2a4fc14610500578063cf00cec914610513578063d5a844911461053357600080fd5b8063bbc4541b146104b2578063be5405d2146104d957600080fd5b806392c5961a146104265780639327136814610466578063afe5c8ff14610478578063b06a41201461048b57600080fd5b8063610b5925116101d857806375f0bb52116101a7578063827be3cc1161018c578063827be3cc146103e45780638d092f5d146103ec5780638da5cb5b1461041557600080fd5b806375f0bb52146103be5780637d49f1db146103d157600080fd5b8063610b59251461037d57806362067cd114610390578063715018a6146103a357806374d4f6d0146103ab57600080fd5b80633ef3a75c116102145780633ef3a75c146102fa578063436f8d031461030d5780634a9b5db71461034e5780635cb543841461035657600080fd5b806301ffc9a71461024657806326a13d301461026e578063346e5c48146102b757806337c591fa146102cc575b600080fd5b6102596102543660046132cf565b61063d565b60405190151581526020015b60405180910390f35b6102aa6040518060400160405280601681526020017f64656c656761746553657475702861646472657373290000000000000000000081525081565b60405161026591906135c2565b6102ca6102c5366004613312565b6106a6565b005b6102ec6102da366004612e44565b60036020526000908152604090205481565b604051908152602001610265565b6102ca610308366004612f76565b610875565b61033661031b3660046132f9565b6005602052600090815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610265565b6102aa610a14565b6103367f000000000000000000000000000000000000000000000000000000000000000081565b6102ca61038b366004612e44565b610a30565b6102ca61039e366004613337565b610a47565b6102ca610cf6565b6102ca6103b9366004612e44565b610d5c565b6102ca6103cc366004612ff7565b610db8565b6102ca6103df366004613158565b610f28565b6102aa610f4f565b6103366103fa3660046132f9565b6004602052600090815260409020546001600160a01b031681565b6001546001600160a01b0316610336565b61044d7fe009cfde76304ae4f68fc946b1f438cd7befba1599b95737584c332ee622b62981565b6040516001600160e01b03199091168152602001610265565b6102ca6104743660046132aa565b5050565b600254610336906001600160a01b031681565b6103367f000000000000000000000000000000000000000000000000000000000000000081565b6103367f000000000000000000000000000000000000000000000000000000000000000081565b6103367f000000000000000000000000000000000000000000000000000000000000000081565b61025961050e366004612e44565b610f6b565b610526610521366004612e44565b610ffe565b604051610265919061347e565b6102ca610541366004612e44565b611075565b6102ca6105543660046132aa565b611139565b6103367f000000000000000000000000000000000000000000000000000000000000000081565b6102ca61058e366004613337565b6111d2565b6102596105a1366004612e44565b60006020819052908152604090205460ff1681565b61044d7fe19a9dd9915bcd0262210387ba8f90d343aab4a5989aaae0ed7f2b6edddaff1a81565b61044d7f610b5925afff994a89367f36d1195efacee9e03780fb400aacb2ff998042ec3581565b6102ca610612366004612eb7565b6114fe565b6102ca610625366004612e44565b611760565b610259610638366004612e7e565b61183f565b60006001600160e01b031982167fe6d7a83a0000000000000000000000000000000000000000000000000000000014806106a057506001600160e01b031982167f01ffc9a700000000000000000000000000000000000000000000000000000000145b92915050565b6000828152600560209081526040808320546004909252909120546001600160a01b039182169116806107205760405162461bcd60e51b815260206004820152601160248201527f506f6420646f65736e277420657869737400000000000000000000000000000060448201526064015b60405180910390fd5b6001600160a01b03821661078b57336001600160a01b038216146107865760405162461bcd60e51b815260206004820152601b60248201527f4f6e6c7920736166652063616e20616464206e65772061646d696e00000000006044820152606401610717565b6107e3565b336001600160a01b038316146107e35760405162461bcd60e51b815260206004820152601b60248201527f4f6e6c792061646d696e2063616e207570646174652061646d696e00000000006044820152606401610717565b6001600160a01b038082166000908152602081905260409020805460ff1916918516151591909117905560008481526005602090815260409182902080546001600160a01b0319166001600160a01b0387169081179091558251878152918201527ffef38cfc44da305e6203142455e0a2b129109e8fd7b40914acff6874f170e3df910160405180910390a150505050565b6001600160a01b0385166108cb5760405162461bcd60e51b815260206004820152601460248201527f696e76616c6964207361666520616464726573730000000000000000000000006044820152606401610717565b6001600160a01b038516600090815260036020526040902054156109315760405162461bcd60e51b815260206004820152601360248201527f7361666520616c726561647920696e20757365000000000000000000000000006044820152606401610717565b61093a85610f6b565b6109865760405162461bcd60e51b815260206004820152601b60248201527f73616665206d6f64756c65206d75737420626520656e61626c656400000000006044820152606401610717565b610990853361183f565b806109a35750336001600160a01b038616145b6109ef5760405162461bcd60e51b815260206004820152601d60248201527f63616c6c6572206d7573742062652073616665206f72206d656d6265720000006044820152606401610717565b60006109fa86610ffe565b9050610a0b818789888888886118dc565b50505050505050565b6040518060800160405280605a81526020016137bc605a913981565b6001600160a01b03811615610a4457600080fd5b50565b6001600160a01b038116610a8f5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610717565b60405163c3c5a54760e01b81523360048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063c3c5a5479060240160206040518083038186803b158015610aee57600080fd5b505afa158015610b02573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b269190613274565b610b725760405162461bcd60e51b815260206004820152601960248201527f436f6e74726f6c6c6572206e6f742072656769737465726564000000000000006044820152606401610717565b6000838152600560205260409020546001600160a01b0316158015610bac57506000838152600460205260409020546001600160a01b0316155b8015610bce57506001600160a01b038116600090815260036020526040902054155b610c1a5760405162461bcd60e51b815260206004820152601260248201527f506f6420616c72656164792065786973747300000000000000000000000000006044820152606401610717565b6001600160a01b03821615610c6e57600083815260056020908152604080832080546001600160a01b0319166001600160a01b038781169190911790915584168352908290529020805460ff191660011790555b600083815260046020908152604080832080546001600160a01b0319166001600160a01b038616908117909155835260039091529020839055610cb081611d98565b604080518481526001600160a01b03841660208201527ffef38cfc44da305e6203142455e0a2b129109e8fd7b40914acff6874f170e3df910160405180910390a1505050565b6001546001600160a01b03163314610d505760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610717565b610d5a6000611ead565b565b60405163610b592560e01b81526001600160a01b0382166004820152309063610b592590602401600060405180830381600087803b158015610d9d57600080fd5b505af1158015610db1573d6000803e3d6000fd5b5050505050565b3360008181526020819052604090205460ff16610dd55750610f1b565b60048a5110610f195763610b592560e01b610def8b6136a9565b6001600160e01b0319161415610e475760405162461bcd60e51b815260206004820152601560248201527f43616e6e6f7420456e61626c65204d6f64756c657300000000000000000000006044820152606401610717565b637004e7ef60e11b610e588b6136a9565b6001600160e01b0319161415610eb05760405162461bcd60e51b815260206004820152601660248201527f43616e6e6f742044697361626c65204d6f64756c6573000000000000000000006044820152606401610717565b63e19a9dd960e01b610ec18b6136a9565b6001600160e01b0319161415610f195760405162461bcd60e51b815260206004820152601360248201527f43616e6e6f74204368616e6765204775617264000000000000000000000000006044820152606401610717565b505b5050505050505050505050565b6000610f348888611eff565b9050610f45888288888888886118dc565b5050505050505050565b6040518060800160405280604681526020016138166046913981565b6040517f2d9ad53d0000000000000000000000000000000000000000000000000000000081523060048201526000906001600160a01b03831690632d9ad53d9060240160206040518083038186803b158015610fc657600080fd5b505afa158015610fda573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106a09190613274565b6060816001600160a01b031663a0e67e2b6040518163ffffffff1660e01b815260040160006040518083038186803b15801561103957600080fd5b505afa15801561104d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106a091908101906130dc565b6001546001600160a01b031633146110cf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610717565b6001600160a01b0381166111175760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610717565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6000828152600560205260409020546001600160a01b0316331461119f5760405162461bcd60e51b815260206004820181905260248201527f4d7573742062652061646d696e20746f20736574206d6f64756c65206c6f636b6044820152606401610717565b6000828152600460209081526040808320546001600160a01b03168352908290529020805460ff19168215151790555050565b6001600160a01b03821661121a5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610717565b60405163c3c5a54760e01b81526001600160a01b0383811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063c3c5a5479060240160206040518083038186803b15801561127b57600080fd5b505afa15801561128f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112b39190613274565b6112ff5760405162461bcd60e51b815260206004820152601960248201527f436f6e74726f6c6c6572206e6f742072656769737465726564000000000000006044820152606401610717565b6000838152600560209081526040808320546004909252909120546001600160a01b0391821691163382148061133d5750336001600160a01b038216145b6113895760405162461bcd60e51b815260206004820152601360248201527f55736572206e6f7420617574686f72697a6564000000000000000000000000006044820152606401610717565b600085815260056020908152604080832080546001600160a01b0319908116909155600480845282852080549092169091556001600160a01b038581168552600390935281842093909355517f82786654000000000000000000000000000000000000000000000000000000008152918201879052858116602483015285917f000000000000000000000000000000000000000000000000000000000000000090911690638278665490604401600060405180830381600087803b15801561145057600080fd5b505af1158015611464573d6000803e3d6000fd5b5050505061147382868661218e565b6040517f62067cd1000000000000000000000000000000000000000000000000000000008152600481018790526001600160a01b03848116602483015283811660448301528216906362067cd190606401600060405180830381600087803b1580156114de57600080fd5b505af11580156114f2573d6000803e3d6000fd5b50505050505050505050565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146115765760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420417574686f72697a65640000000000000000000000000000000000006044820152606401610717565b6001600160a01b038616301480156115ab5750600160ff16816000815181106115a1576115a161376c565b016020015160f81c145b156115b557611758565b60005b8351811015610a0b5760008482815181106115d5576115d561376c565b60209081029190910181015160008181526004835260408082205460059094529020549092506001600160a01b039182169190811690891661169f57816001600160a01b03168a6001600160a01b031614806116425750806001600160a01b03168a6001600160a01b0316145b8061165557506001600160a01b038a1630145b6116905760405162461bcd60e51b815260206004820152600c60248201526b139bc8149d5b195cc814d95d60a21b6044820152606401610717565b61169a88836124e5565b611741565b6001600160a01b03881661173657816001600160a01b03168a6001600160a01b031614806116de5750806001600160a01b03168a6001600160a01b0316145b806116f157506001600160a01b038a1630145b61172c5760405162461bcd60e51b815260206004820152600c60248201526b139bc8149d5b195cc814d95d60a21b6044820152606401610717565b61169a8983612696565b611741898984612972565b5050506001816117519190613666565b90506115b8565b505050505050565b6001546001600160a01b031633146117ba5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610717565b6001600160a01b0381166118365760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610717565b610a4481611ead565b6040517f2f54bf6e0000000000000000000000000000000000000000000000000000000081526001600160a01b03828116600483015260009190841690632f54bf6e9060240160206040518083038186803b15801561189d57600080fd5b505afa1580156118b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118d59190613274565b9392505050565b604080516001808252818301909252600091602082018180368337019050509050600160f81b816000815181106119155761191561376c565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506040517f9aa0055e0000000000000000000000000000000000000000000000000000000081526000906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690639aa0055e906119ae908c908690600401613491565b602060405180830381600087803b1580156119c857600080fd5b505af11580156119dc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a009190613291565b9050838114611a515760405162461bcd60e51b815260206004820152601e60248201527f706f64206964206469646e2774206d617463682c2074727920616761696e00006044820152606401610717565b7fb298a97e1ae845f4ac62f176cde255ccfe5ac42197eae12459c99761bad66a4881898988604051611a8694939291906135d5565b60405180910390a1604080518281526001600160a01b03891660208201527ffef38cfc44da305e6203142455e0a2b129109e8fd7b40914acff6874f170e3df910160405180910390a16001600160a01b03871615611b29576001600160a01b0388166000908152602081905260409020805460ff19166001179055600081815260056020526040902080546001600160a01b0319166001600160a01b0389161790555b600081815260046020818152604080842080546001600160a01b0319166001600160a01b038e8116918217909255808652600390935281852086905560025491517f98eed3e90000000000000000000000000000000000000000000000000000000081529384018b9052602484019290925233604484015216906398eed3e990606401602060405180830381600087803b158015611bc657600080fd5b505af1158015611bda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bfe9190612e61565b9050611c0b898288612b14565b6002546040517fcfeac6a5000000000000000000000000000000000000000000000000000000008152600481018990526000916001600160a01b03169063cfeac6a59060240160206040518083038186803b158015611c6957600080fd5b505afa158015611c7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ca19190613291565b6002546040517f10f13a8c0000000000000000000000000000000000000000000000000000000081529192506001600160a01b0316906310f13a8c90611ced9084908990600401613528565b600060405180830381600087803b158015611d0757600080fd5b505af1158015611d1b573d6000803e3d6000fd5b50506002546001600160a01b031691506310f13a8c905082611d3c86612ba0565b6040518363ffffffff1660e01b8152600401611d59929190613575565b600060405180830381600087803b158015611d7357600080fd5b505af1158015611d87573d6000803e3d6000fd5b505050505050505050505050505050565b60405130602482015260009060440160408051601f198184030181529181526020820180516001600160e01b031663e19a9dd960e01b1790525163468721a760e01b81529091506000906001600160a01b0384169063468721a790611e07908690859087908290600401613427565b602060405180830381600087803b158015611e2157600080fd5b505af1158015611e35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e599190613274565b905080611ea85760405162461bcd60e51b815260206004820152601660248201527f436f756c64206e6f7420656e61626c65206775617264000000000000000000006044820152606401610717565b505050565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604080518082018252601681527f64656c656761746553657475702861646472657373290000000000000000000060208201529051306024820152600091829160440160408051601f198184030181529082905291611f5d916133e9565b60405180910390206001600160e01b0319166020820180516001600160e01b0383818316178352505050509050600060405180608001604052806046815260200161381660469139858530857f00000000000000000000000000000000000000000000000000000000000000006000806000604051602401611fe69897969594939291906134bf565b60408051601f198184030181529082905291612001916133e9565b60408051918290039091206020830180516001600160e01b03166001600160e01b0319909216919091179052517f61b69abd0000000000000000000000000000000000000000000000000000000081529091506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906361b69abd906120b5907f0000000000000000000000000000000000000000000000000000000000000000908590600401613405565b602060405180830381600087803b1580156120cf57600080fd5b505af19250505080156120ff575060408051601f3d908101601f191682019092526120fc91810190612e61565b60015b61217b573d80801561212d576040519150601f19603f3d011682016040523d82523d6000602084013e612132565b606091505b5060405162461bcd60e51b815260206004820152601d60248201527f4372656174652050726f787920576974682044617461204661696c65640000006044820152606401610717565b61218481611d98565b92506106a0915050565b6040516001600160a01b038316602482015260009060440160408051601f198184030181529181526020820180516001600160e01b031663610b592560e01b1790525163468721a760e01b81529091506000906001600160a01b0386169063468721a790612206908890859087908290600401613427565b602060405180830381600087803b15801561222057600080fd5b505af1158015612234573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122589190613274565b9050806122a75760405162461bcd60e51b815260206004820152601a60248201527f4d6967726174696f6e206661696c6564206f6e20656e61626c650000000000006044820152606401610717565b6040517fcc2f84520000000000000000000000000000000000000000000000000000000081526001600160a01b038481166004830152600160248301526000919087169063cc2f84529060440160006040518083038186803b15801561230c57600080fd5b505afa158015612320573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526123489190810190613111565b509050306001600160a01b0316816000815181106123685761236861376c565b60200260200101516001600160a01b0316146123c65760405162461bcd60e51b815260206004820152601460248201527f696e636f727265637420707265764d6f64756c650000000000000000000000006044820152606401610717565b6040516001600160a01b038516602482015230604482015260009060640160408051601f198184030181529181526020820180516001600160e01b0316637004e7ef60e11b1790525163468721a760e01b81529091506000906001600160a01b0389169063468721a790612444908b90859087908290600401613427565b602060405180830381600087803b15801561245e57600080fd5b505af1158015612472573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124969190613274565b905080610f455760405162461bcd60e51b815260206004820152601b60248201527f4d6967726174696f6e206661696c6564206f6e2064697361626c6500000000006044820152606401610717565b6000816001600160a01b031663e75235b86040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561252257600080fd5b505af1158015612536573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061255a9190613291565b6040516001600160a01b03851660248201526044810182905290915060009060640160408051601f198184030181529181526020820180516001600160e01b03167f0d582f13000000000000000000000000000000000000000000000000000000001790525163468721a760e01b81529091506000906001600160a01b0385169063468721a7906125f5908790859087908290600401613427565b602060405180830381600087803b15801561260f57600080fd5b505af1158015612623573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126479190613274565b905080610db15760405162461bcd60e51b815260206004820152601960248201527f4d6f64756c65205472616e73616374696f6e204661696c6564000000000000006044820152606401610717565b6000816001600160a01b031663e75235b86040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156126d357600080fd5b505af11580156126e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061270b9190613291565b90506000826001600160a01b031663a0e67e2b6040518163ffffffff1660e01b815260040160006040518083038186803b15801561274857600080fd5b505afa15801561275c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261278491908101906130dc565b90506000805b825181101561280d57856001600160a01b03168382815181106127af576127af61376c565b60200260200101516001600160a01b031614156127fb57806127d457600191506127fb565b826127e0600183613692565b815181106127f0576127f061376c565b602002602001015191505b8061280581613711565b91505061278a565b50826001835161281d9190613692565b10156128315761282e600184613692565b92505b6040516001600160a01b038083166024830152861660448201526064810184905260009060840160408051601f198184030181529181526020820180516001600160e01b03167ff8dc5dd9000000000000000000000000000000000000000000000000000000001790525163468721a760e01b81529091506000906001600160a01b0387169063468721a7906128d1908990859087908290600401613427565b602060405180830381600087803b1580156128eb57600080fd5b505af11580156128ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129239190613274565b905080610a0b5760405162461bcd60e51b815260206004820152601960248201527f4d6f64756c65205472616e73616374696f6e204661696c6564000000000000006044820152606401610717565b6000816001600160a01b031663a0e67e2b6040518163ffffffff1660e01b815260040160006040518083038186803b1580156129ad57600080fd5b505afa1580156129c1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526129e991908101906130dc565b90506000805b8251811015612a7257856001600160a01b0316838281518110612a1457612a1461376c565b60200260200101516001600160a01b03161415612a605780612a395760019150612a60565b82612a45600183613692565b81518110612a5557612a5561376c565b602002602001015191505b80612a6a81613711565b9150506129ef565b506040516001600160a01b03808316602483015280871660448301528516606482015260009060840160408051601f198184030181529181526020820180516001600160e01b03167fe318b52b000000000000000000000000000000000000000000000000000000001790525163468721a760e01b81529091506000906001600160a01b0386169063468721a7906128d1908890859087908290600401613427565b600081604051602401612b2791906135c2565b60408051601f198184030181529181526020820180516001600160e01b03167fc47f0027000000000000000000000000000000000000000000000000000000001790525163468721a760e01b81529091506000906001600160a01b0386169063468721a7906125f5908790859087908290600401613427565b606081612be057505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612c0a5780612bf481613711565b9150612c039050600a8361367e565b9150612be4565b60008167ffffffffffffffff811115612c2557612c25613782565b6040519080825280601f01601f191660200182016040528015612c4f576020820181803683370190505b5090505b8415612cd257612c64600183613692565b9150612c71600a8661372c565b612c7c906030613666565b60f81b818381518110612c9157612c9161376c565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612ccb600a8661367e565b9450612c53565b949350505050565b8035612ce581613798565b919050565b600082601f830112612cfb57600080fd5b81516020612d10612d0b83613642565b613611565b80838252828201915082860187848660051b8901011115612d3057600080fd5b60005b85811015612d58578151612d4681613798565b84529284019290840190600101612d33565b5090979650505050505050565b600082601f830112612d7657600080fd5b81356020612d86612d0b83613642565b80838252828201915082860187848660051b8901011115612da657600080fd5b60005b85811015612d5857813584529284019290840190600101612da9565b600082601f830112612dd657600080fd5b813567ffffffffffffffff811115612df057612df0613782565b612e03601f8201601f1916602001613611565b818152846020838601011115612e1857600080fd5b816020850160208301376000918101602001919091529392505050565b803560028110612ce557600080fd5b600060208284031215612e5657600080fd5b81356118d581613798565b600060208284031215612e7357600080fd5b81516118d581613798565b60008060408385031215612e9157600080fd5b8235612e9c81613798565b91506020830135612eac81613798565b809150509250929050565b60008060008060008060c08789031215612ed057600080fd5b8635612edb81613798565b95506020870135612eeb81613798565b94506040870135612efb81613798565b9350606087013567ffffffffffffffff80821115612f1857600080fd5b612f248a838b01612d65565b94506080890135915080821115612f3a57600080fd5b612f468a838b01612d65565b935060a0890135915080821115612f5c57600080fd5b50612f6989828a01612dc5565b9150509295509295509295565b60008060008060008060c08789031215612f8f57600080fd5b8635612f9a81613798565b95506020870135612faa81613798565b945060408701359350606087013567ffffffffffffffff80821115612fce57600080fd5b612fda8a838b01612dc5565b94506080890135935060a0890135915080821115612f5c57600080fd5b60008060008060008060008060008060006101608c8e03121561301957600080fd5b6130228c612cda565b9a5060208c0135995067ffffffffffffffff8060408e0135111561304557600080fd5b6130558e60408f01358f01612dc5565b995061306360608e01612e35565b985060808d0135975060a08d0135965060c08d0135955061308660e08e01612cda565b94506130956101008e01612cda565b9350806101208e013511156130a957600080fd5b506130bb8d6101208e01358e01612dc5565b91506130ca6101408d01612cda565b90509295989b509295989b9093969950565b6000602082840312156130ee57600080fd5b815167ffffffffffffffff81111561310557600080fd5b612cd284828501612cea565b6000806040838503121561312457600080fd5b825167ffffffffffffffff81111561313b57600080fd5b61314785828601612cea565b9250506020830151612eac81613798565b600080600080600080600060e0888a03121561317357600080fd5b873567ffffffffffffffff8082111561318b57600080fd5b818a0191508a601f83011261319f57600080fd5b813560206131af612d0b83613642565b8083825282820191508286018f848660051b89010111156131cf57600080fd5b600096505b848710156131fb5780356131e781613798565b8352600196909601959183019183016131d4565b509b50508b01359850613212905060408b01612cda565b965060608a0135955060808a013591508082111561322f57600080fd5b61323b8b838c01612dc5565b945060a08a0135935060c08a013591508082111561325857600080fd5b506132658a828b01612dc5565b91505092959891949750929550565b60006020828403121561328657600080fd5b81516118d5816137ad565b6000602082840312156132a357600080fd5b5051919050565b600080604083850312156132bd57600080fd5b823591506020830135612eac816137ad565b6000602082840312156132e157600080fd5b81356001600160e01b0319811681146118d557600080fd5b60006020828403121561330b57600080fd5b5035919050565b6000806040838503121561332557600080fd5b823591506020830135612eac81613798565b60008060006060848603121561334c57600080fd5b83359250602084013561335e81613798565b9150604084013561336e81613798565b809150509250925092565b600081518084526020808501945080840160005b838110156133b25781516001600160a01b03168752958201959082019060010161338d565b509495945050505050565b600081518084526133d58160208601602086016136e1565b601f01601f19169290920160200192915050565b600082516133fb8184602087016136e1565b9190910192915050565b6001600160a01b0383168152604060208201526000612cd260408301846133bd565b6001600160a01b038516815283602082015260806040820152600061344f60808301856133bd565b90506002831061346f57634e487b7160e01b600052602160045260246000fd5b82606083015295945050505050565b6020815260006118d56020830184613379565b6040815260006134a46040830185613379565b82810360208401526134b681856133bd565b95945050505050565b60006101008083526134d38184018c613379565b90508960208401526001600160a01b03808a16604085015283820360608501526134fd828a6133bd565b978116608085015295861660a0840152505060c081019290925290911660e090910152949350505050565b82815260606020820152600660608201527f6176617461720000000000000000000000000000000000000000000000000000608082015260a060408201526000612cd260a08301846133bd565b82815260606020820152600560608201527f706f644964000000000000000000000000000000000000000000000000000000608082015260a060408201526000612cd260a08301846133bd565b6020815260006118d560208301846133bd565b84815260006001600160a01b0380861660208401528085166040840152506080606083015261360760808301846133bd565b9695505050505050565b604051601f8201601f1916810167ffffffffffffffff8111828210171561363a5761363a613782565b604052919050565b600067ffffffffffffffff82111561365c5761365c613782565b5060051b60200190565b6000821982111561367957613679613740565b500190565b60008261368d5761368d613756565b500490565b6000828210156136a4576136a4613740565b500390565b6000815160208301516001600160e01b0319808216935060048310156136d95780818460040360031b1b83161693505b505050919050565b60005b838110156136fc5781810151838201526020016136e4565b8381111561370b576000848401525b50505050565b600060001982141561372557613725613740565b5060010190565b60008261373b5761373b613756565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610a4457600080fd5b8015158114610a4457600080fdfe657865635472616e73616374696f6e28616464726573732c75696e743235362c62797465732c75696e74382c75696e743235362c75696e743235362c75696e743235362c616464726573732c616464726573732c627974657329736574757028616464726573735b5d2c75696e743235362c616464726573732c62797465732c616464726573732c616464726573732c75696e743235362c6164647265737329a26469706673582212205cdab7934323e4b3adb74838516f27444536f65fc4c91a6126c85f056b073d9964736f6c63430008070033",
  "devdoc": {
    "kind": "dev",
    "methods": {
      "beforeTokenTransfer(address,address,address,uint256[],uint256[],bytes)": {
        "params": {
          "data": "Passes a flag for an initial creation event",
          "from": "The address sending the membership token",
          "ids": "An array of membership token ids to be transfered",
          "operator": "The address that initiated the action",
          "to": "The address recieveing the membership token"
        }
      },
      "checkTransaction(address,uint256,bytes,uint8,uint256,uint256,uint256,address,address,bytes,address)": {
        "details": "This will be called by the safe at execution time time",
        "params": {
          "baseGas": "Gas costs that are independent of the transaction execution(e.g. base transaction fee, signature check, payment of the refund)",
          "data": "Data payload of Safe transaction.",
          "gasPrice": "Gas price that should be used for the payment calculation.",
          "gasToken": "Token address (or 0 if ETH) that is used for the payment.",
          "msgSender": "Account executing safe transaction",
          "operation": "Operation type of Safe transaction.",
          "refundReceiver": "Address of receiver of gas payment (or 0 if tx.origin).",
          "safeTxGas": "Gas that should be used for the Safe transaction.",
          "signatures": "Packed signature data ({bytes32 r}{bytes32 s}{uint8 v})",
          "to": "Destination address of Safe transaction.",
          "value": "Ether value of Safe transaction."
        }
      },
      "constructor": {
        "details": "Will instantiate safe teller with gnosis master and proxy addresses",
        "params": {
          "_controllerRegistry": "The address of the ControllerRegistry contract",
          "_gnosisMasterAddress": "The gnosis master address",
          "_memberToken": "The address of the MemberToken contract",
          "_proxyFactoryAddress": "The proxy factory address"
        }
      },
      "createPod(address[],uint256,address,bytes32,string,uint256,string)": {
        "params": {
          "_admin": "The address of the pod admin",
          "_ensString": "string of pod ens name (i.e.'mypod.pod.xyz')",
          "_label": "label hash of pod name (i.e labelhash('mypod'))",
          "_members": "The addresses of the members of the pod",
          "threshold": "The number of members that are required to sign a transaction"
        }
      },
      "createPodWithSafe(address,address,bytes32,string,uint256,string)": {
        "details": "Used to create a pod with an existing safeWill automatically distribute membership NFTs to current safe members",
        "params": {
          "_admin": "The address of the pod admin",
          "_ensString": "string of pod ens name (i.e.'mypod.pod.xyz')",
          "_label": "label hash of pod name (i.e labelhash('mypod'))",
          "_safe": "The address of existing safe"
        }
      },
      "migratePodController(uint256,address,address)": {
        "details": "This will nullify all pod state on this controllerUpdate state on _newControllerUpdate controller to _newController in Safe and MemberToken",
        "params": {
          "_newController": "The address of the new pod controller",
          "_podId": "The id number of the pod",
          "_prevModule": "The module that points to the orca module in the safe's ModuleManager linked list"
        }
      },
      "owner()": {
        "details": "Returns the address of the current owner."
      },
      "renounceOwnership()": {
        "details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner."
      },
      "setPodModuleLock(uint256,bool)": {
        "details": "Allows admin to unlock the safe modules and allow them to be edited by members",
        "params": {
          "_isLocked": "true - pod modules cannot be added/removed",
          "_podId": "The id number of the pod"
        }
      },
      "supportsInterface(bytes4)": {
        "details": "Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas."
      },
      "transferOwnership(address)": {
        "details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
      },
      "updatePodAdmin(uint256,address)": {
        "params": {
          "_newAdmin": "The address of the new pod admin",
          "_podId": "The id number of the pod"
        }
      },
      "updatePodState(uint256,address,address)": {
        "details": "This is called by another version of controller to migrate a pod to this versionWill only accept calls from registered controllersCan only be called once.",
        "params": {
          "_podAdmin": "The address of the pod admin",
          "_podId": "The id number of the pod",
          "_safeAddress": "The address of the safe"
        }
      }
    },
    "version": 1
  },
  "userdoc": {
    "kind": "user",
    "methods": {},
    "version": 1
  },
  "storageLayout": {
    "storage": [
      {
        "astId": 5622,
        "contract": "contracts/ControllerV1.sol:ControllerV1",
        "label": "areModulesLocked",
        "offset": 0,
        "slot": "0",
        "type": "t_mapping(t_address,t_bool)"
      },
      {
        "astId": 1342,
        "contract": "contracts/ControllerV1.sol:ControllerV1",
        "label": "_owner",
        "offset": 0,
        "slot": "1",
        "type": "t_address"
      },
      {
        "astId": 4186,
        "contract": "contracts/ControllerV1.sol:ControllerV1",
        "label": "podEnsRegistrar",
        "offset": 0,
        "slot": "2",
        "type": "t_contract(IPodEnsRegistrar)6366"
      },
      {
        "astId": 4190,
        "contract": "contracts/ControllerV1.sol:ControllerV1",
        "label": "safeToPodId",
        "offset": 0,
        "slot": "3",
        "type": "t_mapping(t_address,t_uint256)"
      },
      {
        "astId": 4194,
        "contract": "contracts/ControllerV1.sol:ControllerV1",
        "label": "podIdToSafe",
        "offset": 0,
        "slot": "4",
        "type": "t_mapping(t_uint256,t_address)"
      },
      {
        "astId": 4198,
        "contract": "contracts/ControllerV1.sol:ControllerV1",
        "label": "podAdmin",
        "offset": 0,
        "slot": "5",
        "type": "t_mapping(t_uint256,t_address)"
      }
    ],
    "types": {
      "t_address": {
        "encoding": "inplace",
        "label": "address",
        "numberOfBytes": "20"
      },
      "t_bool": {
        "encoding": "inplace",
        "label": "bool",
        "numberOfBytes": "1"
      },
      "t_contract(IPodEnsRegistrar)6366": {
        "encoding": "inplace",
        "label": "contract IPodEnsRegistrar",
        "numberOfBytes": "20"
      },
      "t_mapping(t_address,t_bool)": {
        "encoding": "mapping",
        "key": "t_address",
        "label": "mapping(address => bool)",
        "numberOfBytes": "32",
        "value": "t_bool"
      },
      "t_mapping(t_address,t_uint256)": {
        "encoding": "mapping",
        "key": "t_address",
        "label": "mapping(address => uint256)",
        "numberOfBytes": "32",
        "value": "t_uint256"
      },
      "t_mapping(t_uint256,t_address)": {
        "encoding": "mapping",
        "key": "t_uint256",
        "label": "mapping(uint256 => address)",
        "numberOfBytes": "32",
        "value": "t_address"
      },
      "t_uint256": {
        "encoding": "inplace",
        "label": "uint256",
        "numberOfBytes": "32"
      }
    }
  }
}