{
  "contractName": "TokenGrantStake",
  "abi": [
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "_tokenAddress",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "_grantId",
          "type": "uint256"
        },
        {
          "internalType": "address",
          "name": "_tokenStaking",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "constructor"
    },
    {
      "constant": false,
      "inputs": [],
      "name": "cancelStake",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "getAmount",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "getDetails",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "_grantId",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "_amount",
          "type": "uint256"
        },
        {
          "internalType": "address",
          "name": "_tokenStaking",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "getGrantId",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "getStakingContract",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [],
      "name": "recoverStake",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_amount",
          "type": "uint256"
        },
        {
          "internalType": "bytes",
          "name": "_extraData",
          "type": "bytes"
        }
      ],
      "name": "stake",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [],
      "name": "undelegate",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    }
  ],
  "bytecode": "0x608060405234801561001057600080fd5b506040516109fe3803806109fe8339818101604052606081101561003357600080fd5b50805160208201516040909201519091906001600160a01b03831661009f576040805162461bcd60e51b815260206004820152601c60248201527f546f6b656e20616464726573732063616e2774206265207a65726f2e00000000604482015290519081900360640190fd5b6001600160a01b0381166100e45760405162461bcd60e51b81526004018080602001828103825260278152602001806109d76027913960400191505060405180910390fd5b600080546001600160a01b039485166001600160a01b03199182161790915560028054821633179055600392909255600180549190931691161790556108a88061012f6000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c806392ab89bb1161005b57806392ab89bb14610182578063ca9ce2911461018a578063d321fe2914610192578063fbbf93a01461019a57610088565b80630e89439b1461008d5780632a9a347a1461013c5780635c8fb3cf146101565780638e68dce41461015e575b600080fd5b61013a600480360360408110156100a357600080fd5b813591908101906040810160208201356401000000008111156100c557600080fd5b8201836020820111156100d757600080fd5b803590602001918460018302840111640100000000831117156100f957600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506101c9945050505050565b005b610144610324565b60408051918252519081900360200190f35b6101446103ea565b610166610441565b604080516001600160a01b039092168252519081900360200190f35b61013a6104a1565b610144610559565b6101446105fa565b6101a2610651565b6040805193845260208401929092526001600160a01b031682820152519081900360600190f35b6002546001600160a01b03163314610216576040805162461bcd60e51b815260206004820152601d6024820152600080516020610833833981519152604482015290519081900360640190fd5b600482905561022c81601463ffffffff6106c216565b600580546001600160a01b0319166001600160a01b039283161790556000805460015460405163cae9ca5160e01b81529084166004820181815260248301889052606060448401908152875160648501528751949096169563cae9ca519592948994899460849091019160208601918190849084905b838110156102ba5781810151838201526020016102a2565b50505050905090810190601f1680156102e75780820380516001836020036101000a031916815260200191505b50945050505050600060405180830381600087803b15801561030857600080fd5b505af115801561031c573d6000803e3d6000fd5b505050505050565b6002546000906001600160a01b03163314610374576040805162461bcd60e51b815260206004820152601d6024820152600080516020610833833981519152604482015290519081900360640190fd5b6001546005546040805163525835f960e01b81526001600160a01b0392831660048201529051919092169163525835f991602480830192600092919082900301818387803b1580156103c557600080fd5b505af11580156103d9573d6000803e3d6000fd5b505050506103e5610724565b905090565b6002546000906001600160a01b0316331461043a576040805162461bcd60e51b815260206004820152601d6024820152600080516020610833833981519152604482015290519081900360640190fd5b5060035490565b6002546000906001600160a01b03163314610491576040805162461bcd60e51b815260206004820152601d6024820152600080516020610833833981519152604482015290519081900360640190fd5b506001546001600160a01b031690565b6002546001600160a01b031633146104ee576040805162461bcd60e51b815260206004820152601d6024820152600080516020610833833981519152604482015290519081900360640190fd5b600154600554604080516336a2fa1960e21b81526001600160a01b0392831660048201529051919092169163da8be86491602480830192600092919082900301818387803b15801561053f57600080fd5b505af1158015610553573d6000803e3d6000fd5b50505050565b6002546000906001600160a01b031633146105a9576040805162461bcd60e51b815260206004820152601d6024820152600080516020610833833981519152604482015290519081900360640190fd5b600154600554604080516370320b9760e11b81526001600160a01b0392831660048201529051919092169163e064172e91602480830192600092919082900301818387803b1580156103c557600080fd5b6002546000906001600160a01b0316331461064a576040805162461bcd60e51b815260206004820152601d6024820152600080516020610833833981519152604482015290519081900360640190fd5b5060045490565b600254600090819081906001600160a01b031633146106a5576040805162461bcd60e51b815260206004820152601d6024820152600080516020610833833981519152604482015290519081900360640190fd5b5050600354600454600154919250906001600160a01b0316909192565b60006014820182811180156106d8575080845110155b6107135760405162461bcd60e51b81526004018080602001828103825260218152602001806108536021913960400191505060405180910390fd5b50500160200151600160601b900490565b60008054604080516370a0823160e01b8152306004820152905183926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561076f57600080fd5b505afa158015610783573d6000803e3d6000fd5b505050506040513d602081101561079957600080fd5b5051600480548290038155600080546002546040805163a9059cbb60e01b81526001600160a01b03928316958101959095526024850186905251949550169263a9059cbb926044808201936020939283900390910190829087803b15801561080057600080fd5b505af1158015610814573d6000803e3d6000fd5b505050506040513d602081101561082a57600080fd5b50909150509056fe466f7220746f6b656e206772616e7420636f6e7472616374206f6e6c790000004164647265737320636f6e76657273696f6e206f7574206f6620626f756e64732ea265627a7a723158204135090bef1cd8f923c615e0be6c1a3a21e8e675edd6c51aba47648b8cda712c64736f6c634300051100325374616b696e6720636f6e747261637420616464726573732063616e2774206265207a65726f2e",
  "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100885760003560e01c806392ab89bb1161005b57806392ab89bb14610182578063ca9ce2911461018a578063d321fe2914610192578063fbbf93a01461019a57610088565b80630e89439b1461008d5780632a9a347a1461013c5780635c8fb3cf146101565780638e68dce41461015e575b600080fd5b61013a600480360360408110156100a357600080fd5b813591908101906040810160208201356401000000008111156100c557600080fd5b8201836020820111156100d757600080fd5b803590602001918460018302840111640100000000831117156100f957600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506101c9945050505050565b005b610144610324565b60408051918252519081900360200190f35b6101446103ea565b610166610441565b604080516001600160a01b039092168252519081900360200190f35b61013a6104a1565b610144610559565b6101446105fa565b6101a2610651565b6040805193845260208401929092526001600160a01b031682820152519081900360600190f35b6002546001600160a01b03163314610216576040805162461bcd60e51b815260206004820152601d6024820152600080516020610833833981519152604482015290519081900360640190fd5b600482905561022c81601463ffffffff6106c216565b600580546001600160a01b0319166001600160a01b039283161790556000805460015460405163cae9ca5160e01b81529084166004820181815260248301889052606060448401908152875160648501528751949096169563cae9ca519592948994899460849091019160208601918190849084905b838110156102ba5781810151838201526020016102a2565b50505050905090810190601f1680156102e75780820380516001836020036101000a031916815260200191505b50945050505050600060405180830381600087803b15801561030857600080fd5b505af115801561031c573d6000803e3d6000fd5b505050505050565b6002546000906001600160a01b03163314610374576040805162461bcd60e51b815260206004820152601d6024820152600080516020610833833981519152604482015290519081900360640190fd5b6001546005546040805163525835f960e01b81526001600160a01b0392831660048201529051919092169163525835f991602480830192600092919082900301818387803b1580156103c557600080fd5b505af11580156103d9573d6000803e3d6000fd5b505050506103e5610724565b905090565b6002546000906001600160a01b0316331461043a576040805162461bcd60e51b815260206004820152601d6024820152600080516020610833833981519152604482015290519081900360640190fd5b5060035490565b6002546000906001600160a01b03163314610491576040805162461bcd60e51b815260206004820152601d6024820152600080516020610833833981519152604482015290519081900360640190fd5b506001546001600160a01b031690565b6002546001600160a01b031633146104ee576040805162461bcd60e51b815260206004820152601d6024820152600080516020610833833981519152604482015290519081900360640190fd5b600154600554604080516336a2fa1960e21b81526001600160a01b0392831660048201529051919092169163da8be86491602480830192600092919082900301818387803b15801561053f57600080fd5b505af1158015610553573d6000803e3d6000fd5b50505050565b6002546000906001600160a01b031633146105a9576040805162461bcd60e51b815260206004820152601d6024820152600080516020610833833981519152604482015290519081900360640190fd5b600154600554604080516370320b9760e11b81526001600160a01b0392831660048201529051919092169163e064172e91602480830192600092919082900301818387803b1580156103c557600080fd5b6002546000906001600160a01b0316331461064a576040805162461bcd60e51b815260206004820152601d6024820152600080516020610833833981519152604482015290519081900360640190fd5b5060045490565b600254600090819081906001600160a01b031633146106a5576040805162461bcd60e51b815260206004820152601d6024820152600080516020610833833981519152604482015290519081900360640190fd5b5050600354600454600154919250906001600160a01b0316909192565b60006014820182811180156106d8575080845110155b6107135760405162461bcd60e51b81526004018080602001828103825260218152602001806108536021913960400191505060405180910390fd5b50500160200151600160601b900490565b60008054604080516370a0823160e01b8152306004820152905183926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561076f57600080fd5b505afa158015610783573d6000803e3d6000fd5b505050506040513d602081101561079957600080fd5b5051600480548290038155600080546002546040805163a9059cbb60e01b81526001600160a01b03928316958101959095526024850186905251949550169263a9059cbb926044808201936020939283900390910190829087803b15801561080057600080fd5b505af1158015610814573d6000803e3d6000fd5b505050506040513d602081101561082a57600080fd5b50909150509056fe466f7220746f6b656e206772616e7420636f6e7472616374206f6e6c790000004164647265737320636f6e76657273696f6e206f7574206f6620626f756e64732ea265627a7a723158204135090bef1cd8f923c615e0be6c1a3a21e8e675edd6c51aba47648b8cda712c64736f6c63430005110032",
  "linkReferences": {},
  "deployedLinkReferences": {}
}
