{
  "_format": "hh-sol-artifact-1",
  "contractName": "PegasysDistributionManager",
  "sourceName": "contracts/PegasysDistributionManager.sol",
  "abi": [
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "emissionManager",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "distributionDuration",
          "type": "uint256"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "constructor"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "asset",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "emission",
          "type": "uint256"
        }
      ],
      "name": "AssetConfigUpdated",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "asset",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "index",
          "type": "uint256"
        }
      ],
      "name": "AssetIndexUpdated",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "user",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "asset",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "index",
          "type": "uint256"
        }
      ],
      "name": "UserIndexUpdated",
      "type": "event"
    },
    {
      "inputs": [],
      "name": "DISTRIBUTION_END",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "EMISSION_MANAGER",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "PRECISION",
      "outputs": [
        {
          "internalType": "uint8",
          "name": "",
          "type": "uint8"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "name": "assets",
      "outputs": [
        {
          "internalType": "uint128",
          "name": "emissionPerSecond",
          "type": "uint128"
        },
        {
          "internalType": "uint128",
          "name": "lastUpdateTimestamp",
          "type": "uint128"
        },
        {
          "internalType": "uint256",
          "name": "index",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "user",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "asset",
          "type": "address"
        }
      ],
      "name": "getUserAssetData",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    }
  ],
  "bytecode": "0x60c060405234801561001057600080fd5b5060405161030638038061030683398101604081905261002f9161004e565b6100398142610088565b608052506001600160a01b031660a0526100af565b6000806040838503121561006157600080fd5b82516001600160a01b038116811461007857600080fd5b6020939093015192949293505050565b808201808211156100a957634e487b7160e01b600052601160045260246000fd5b92915050565b60805160a0516102346100d2600039600060f10152600060b001526102346000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80633373ee4c1461005c578063919cd40f146100ab578063aaf5eb68146100d2578063cbcbb507146100ec578063f11b81881461012b575b600080fd5b61009861006a3660046101a9565b6001600160a01b03808216600090815260208181526040808320938616835260029093019052205492915050565b6040519081526020015b60405180910390f35b6100987f000000000000000000000000000000000000000000000000000000000000000081565b6100da601281565b60405160ff90911681526020016100a2565b6101137f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100a2565b6101676101393660046101dc565b600060208190529081526040902080546001909101546001600160801b0380831692600160801b9004169083565b604080516001600160801b039485168152939092166020840152908201526060016100a2565b80356001600160a01b03811681146101a457600080fd5b919050565b600080604083850312156101bc57600080fd5b6101c58361018d565b91506101d36020840161018d565b90509250929050565b6000602082840312156101ee57600080fd5b6101f78261018d565b939250505056fea26469706673582212208c9a34284bc07f3fc505fc39fa51c655b7cc6e60452f72ec543a1d6219c2ae0d64736f6c634300081b0033",
  "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100575760003560e01c80633373ee4c1461005c578063919cd40f146100ab578063aaf5eb68146100d2578063cbcbb507146100ec578063f11b81881461012b575b600080fd5b61009861006a3660046101a9565b6001600160a01b03808216600090815260208181526040808320938616835260029093019052205492915050565b6040519081526020015b60405180910390f35b6100987f000000000000000000000000000000000000000000000000000000000000000081565b6100da601281565b60405160ff90911681526020016100a2565b6101137f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100a2565b6101676101393660046101dc565b600060208190529081526040902080546001909101546001600160801b0380831692600160801b9004169083565b604080516001600160801b039485168152939092166020840152908201526060016100a2565b80356001600160a01b03811681146101a457600080fd5b919050565b600080604083850312156101bc57600080fd5b6101c58361018d565b91506101d36020840161018d565b90509250929050565b6000602082840312156101ee57600080fd5b6101f78261018d565b939250505056fea26469706673582212208c9a34284bc07f3fc505fc39fa51c655b7cc6e60452f72ec543a1d6219c2ae0d64736f6c634300081b0033",
  "linkReferences": {},
  "deployedLinkReferences": {}
}
