2022-01-26 16:59:27 +00:00
|
|
|
{
|
|
|
|
"_format": "hh-sol-artifact-1",
|
2022-06-28 23:02:31 +00:00
|
|
|
"contractName": "ISubscriptionAdapter",
|
|
|
|
"sourceName": "contracts/interfaces/ISubscriptionAdapter.sol",
|
2022-01-26 16:59:27 +00:00
|
|
|
"abi": [
|
2022-01-26 17:04:45 +00:00
|
|
|
{
|
|
|
|
"inputs": [
|
|
|
|
{
|
|
|
|
"internalType": "address",
|
|
|
|
"name": "recipient",
|
|
|
|
"type": "address"
|
|
|
|
},
|
2022-06-26 17:54:51 +00:00
|
|
|
{
|
|
|
|
"internalType": "uint256",
|
|
|
|
"name": "price",
|
|
|
|
"type": "uint256"
|
|
|
|
},
|
2022-01-26 17:04:45 +00:00
|
|
|
{
|
|
|
|
"internalType": "uint8",
|
|
|
|
"name": "v",
|
|
|
|
"type": "uint8"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"internalType": "bytes32",
|
|
|
|
"name": "r",
|
|
|
|
"type": "bytes32"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"internalType": "bytes32",
|
|
|
|
"name": "s",
|
|
|
|
"type": "bytes32"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"name": "configureSubscription",
|
|
|
|
"outputs": [],
|
|
|
|
"stateMutability": "nonpayable",
|
|
|
|
"type": "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"inputs": [
|
|
|
|
{
|
|
|
|
"internalType": "address",
|
|
|
|
"name": "recipient",
|
|
|
|
"type": "address"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"name": "getSubscriptionPrice",
|
|
|
|
"outputs": [
|
|
|
|
{
|
|
|
|
"internalType": "uint256",
|
|
|
|
"name": "",
|
|
|
|
"type": "uint256"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"stateMutability": "view",
|
|
|
|
"type": "function"
|
|
|
|
},
|
2022-05-21 18:28:46 +00:00
|
|
|
{
|
|
|
|
"inputs": [
|
|
|
|
{
|
|
|
|
"internalType": "address",
|
|
|
|
"name": "sender",
|
|
|
|
"type": "address"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"internalType": "address",
|
|
|
|
"name": "recipient",
|
|
|
|
"type": "address"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"name": "getSubscriptionState",
|
|
|
|
"outputs": [
|
|
|
|
{
|
|
|
|
"internalType": "uint256",
|
|
|
|
"name": "",
|
|
|
|
"type": "uint256"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"internalType": "uint256",
|
|
|
|
"name": "",
|
|
|
|
"type": "uint256"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"stateMutability": "view",
|
|
|
|
"type": "function"
|
|
|
|
},
|
2022-01-26 17:04:45 +00:00
|
|
|
{
|
|
|
|
"inputs": [
|
|
|
|
{
|
|
|
|
"internalType": "address",
|
|
|
|
"name": "recipient",
|
|
|
|
"type": "address"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"name": "isSubscriptionConfigured",
|
|
|
|
"outputs": [
|
|
|
|
{
|
|
|
|
"internalType": "bool",
|
|
|
|
"name": "",
|
|
|
|
"type": "bool"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"stateMutability": "view",
|
|
|
|
"type": "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"inputs": [],
|
|
|
|
"name": "subscription",
|
|
|
|
"outputs": [
|
|
|
|
{
|
|
|
|
"internalType": "contract ISubscription",
|
|
|
|
"name": "",
|
|
|
|
"type": "address"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"stateMutability": "view",
|
|
|
|
"type": "function"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"inputs": [],
|
|
|
|
"name": "subscriptionToken",
|
|
|
|
"outputs": [
|
|
|
|
{
|
2022-05-21 18:28:46 +00:00
|
|
|
"internalType": "contract IERC20Metadata",
|
2022-01-26 17:04:45 +00:00
|
|
|
"name": "",
|
|
|
|
"type": "address"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"stateMutability": "view",
|
|
|
|
"type": "function"
|
2022-01-26 16:59:27 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"bytecode": "0x",
|
|
|
|
"deployedBytecode": "0x",
|
|
|
|
"linkReferences": {},
|
|
|
|
"deployedLinkReferences": {}
|
|
|
|
}
|