ocean-subgraph/abis/ERC20TemplateEnterprise.json

1693 lines
114 KiB
JSON
Raw Normal View History

2021-11-24 15:00:24 +01:00
{
2021-11-26 09:04:14 +01:00
"_format": "hh-sol-artifact-1",
"contractName": "ERC20TemplateEnterprise",
"sourceName": "contracts/templates/ERC20TemplateEnterprise.sol",
"abi": [
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "user",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "signer",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "timestamp",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "blockNumber",
"type": "uint256"
}
],
"name": "AddedMinter",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "user",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "signer",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "timestamp",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "blockNumber",
"type": "uint256"
}
],
"name": "AddedPaymentManager",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "Approval",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
2021-11-26 09:04:14 +01:00
"internalType": "address",
"name": "buyer",
2021-11-26 09:04:14 +01:00
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "baseTokenAmount",
2021-11-26 09:04:14 +01:00
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "marketFeeAmount",
2021-11-26 09:04:14 +01:00
"type": "uint256"
}
],
"name": "BuyAndOrder",
2021-11-26 09:04:14 +01:00
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "signer",
2021-11-26 09:04:14 +01:00
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "timestamp",
"type": "uint256"
2021-11-26 09:04:14 +01:00
},
{
"indexed": false,
"internalType": "uint256",
"name": "blockNumber",
2021-11-26 09:04:14 +01:00
"type": "uint256"
}
],
"name": "CleanedPermissions",
2021-11-26 09:04:14 +01:00
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "currentMinter",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "newMinter",
"type": "address"
}
],
"name": "MinterApproved",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "currentMinter",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "newMinter",
"type": "address"
}
],
"name": "MinterProposed",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "dispenserContract",
"type": "address"
}
],
"name": "NewDispenser",
"type": "event"
},
2021-11-26 09:04:14 +01:00
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "bytes32",
"name": "exchangeId",
"type": "bytes32"
},
{
"indexed": true,
2021-11-26 09:04:14 +01:00
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "exchangeContract",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "baseToken",
"type": "address"
2021-11-26 09:04:14 +01:00
}
],
"name": "NewFixedRate",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "caller",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "_newPaymentCollector",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "timestamp",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "blockNumber",
"type": "uint256"
}
],
"name": "NewPaymentCollector",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "bytes32",
"name": "orderTxId",
"type": "bytes32"
2021-11-26 09:04:14 +01:00
},
{
"indexed": false,
"internalType": "address",
"name": "caller",
2021-11-26 09:04:14 +01:00
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "timestamp",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "number",
"type": "uint256"
2021-11-26 09:04:14 +01:00
}
],
"name": "OrderReused",
2021-11-26 09:04:14 +01:00
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "consumer",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "payer",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "serviceIndex",
2021-11-26 09:04:14 +01:00
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "timestamp",
"type": "uint256"
},
{
"indexed": true,
"internalType": "address",
"name": "publishMarketAddress",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "blockNumber",
"type": "uint256"
}
],
"name": "OrderStarted",
"type": "event"
},
{
"anonymous": false,
"inputs": [
2021-11-26 09:04:14 +01:00
{
"indexed": true,
"internalType": "address",
"name": "providerFeeAddress",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "providerFeeToken",
2021-11-26 09:04:14 +01:00
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "providerFeeAmount",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bytes",
"name": "providerData",
"type": "bytes"
},
{
"indexed": false,
"internalType": "uint8",
"name": "v",
"type": "uint8"
},
{
"indexed": false,
"internalType": "bytes32",
"name": "r",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "bytes32",
"name": "s",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "uint256",
"name": "validUntil",
2021-11-26 09:04:14 +01:00
"type": "uint256"
}
],
"name": "ProviderFees",
2021-11-26 09:04:14 +01:00
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "PublishMarketFeeAddress",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "PublishMarketFeeToken",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "PublishMarketFeeAmount",
"type": "uint256"
}
],
"name": "PublishMarketFees",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "caller",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "PublishMarketFeeAddress",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "PublishMarketFeeToken",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "PublishMarketFeeAmount",
"type": "uint256"
}
],
"name": "PublishMarketFeesChanged",
"type": "event"
},
2021-11-26 09:04:14 +01:00
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "user",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "signer",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "timestamp",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "blockNumber",
"type": "uint256"
}
],
"name": "RemovedMinter",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "user",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "signer",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "timestamp",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "blockNumber",
"type": "uint256"
}
],
"name": "RemovedPaymentManager",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "to",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "Transfer",
"type": "event"
},
{
"stateMutability": "payable",
"type": "fallback"
},
{
"inputs": [],
"name": "BASE",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "DOMAIN_SEPARATOR",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "PERMIT_TYPEHASH",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_minter",
"type": "address"
}
],
"name": "addMinter",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_paymentManager",
"type": "address"
}
],
"name": "addPaymentManager",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"internalType": "address",
"name": "spender",
"type": "address"
}
],
"name": "allowance",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "approve",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "authERC20",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "balanceOf",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "burn",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "burnFrom",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"components": [
{
"internalType": "address",
"name": "consumer",
"type": "address"
},
{
"internalType": "uint256",
"name": "serviceIndex",
2021-11-26 09:04:14 +01:00
"type": "uint256"
},
{
"components": [
{
"internalType": "address",
"name": "providerFeeAddress",
"type": "address"
},
{
"internalType": "address",
"name": "providerFeeToken",
"type": "address"
},
{
"internalType": "uint256",
"name": "providerFeeAmount",
"type": "uint256"
},
{
"internalType": "uint8",
"name": "v",
"type": "uint8"
},
{
"internalType": "bytes32",
"name": "r",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "s",
"type": "bytes32"
},
{
"internalType": "uint256",
"name": "validUntil",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "providerData",
"type": "bytes"
}
],
"internalType": "struct ERC20TemplateEnterprise.providerFees",
"name": "_providerFees",
"type": "tuple"
2021-11-26 09:04:14 +01:00
}
],
"internalType": "struct ERC20TemplateEnterprise.OrderParams",
"name": "_orderParams",
"type": "tuple"
},
{
"internalType": "address",
"name": "dispenserContract",
"type": "address"
}
],
"name": "buyFromDispenserAndOrder",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"components": [
{
"internalType": "address",
"name": "consumer",
"type": "address"
},
{
"internalType": "uint256",
"name": "serviceIndex",
2021-11-26 09:04:14 +01:00
"type": "uint256"
},
{
"components": [
{
"internalType": "address",
"name": "providerFeeAddress",
"type": "address"
},
{
"internalType": "address",
"name": "providerFeeToken",
"type": "address"
},
{
"internalType": "uint256",
"name": "providerFeeAmount",
"type": "uint256"
},
{
"internalType": "uint8",
"name": "v",
"type": "uint8"
},
{
"internalType": "bytes32",
"name": "r",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "s",
"type": "bytes32"
},
{
"internalType": "uint256",
"name": "validUntil",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "providerData",
"type": "bytes"
}
],
"internalType": "struct ERC20TemplateEnterprise.providerFees",
"name": "_providerFees",
"type": "tuple"
2021-11-26 09:04:14 +01:00
}
],
"internalType": "struct ERC20TemplateEnterprise.OrderParams",
"name": "_orderParams",
"type": "tuple"
},
{
"components": [
{
"internalType": "address",
"name": "exchangeContract",
"type": "address"
},
{
"internalType": "bytes32",
"name": "exchangeId",
"type": "bytes32"
},
{
"internalType": "uint256",
"name": "maxBaseTokenAmount",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "swapMarketFee",
"type": "uint256"
},
{
"internalType": "address",
"name": "marketFeeAddress",
"type": "address"
2021-11-26 09:04:14 +01:00
}
],
"internalType": "struct ERC20TemplateEnterprise.FreParams",
"name": "_freParams",
"type": "tuple"
}
],
"name": "buyFromFreAndOrder",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "cap",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "cleanFrom721",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "cleanPermissions",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_dispenser",
"type": "address"
},
{
"internalType": "uint256",
"name": "maxTokens",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "maxBalance",
"type": "uint256"
},
{
"internalType": "bool",
"name": "withMint",
"type": "bool"
},
{
"internalType": "address",
"name": "allowedSwapper",
"type": "address"
2021-11-26 09:04:14 +01:00
}
],
"name": "createDispenser",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "fixedPriceAddress",
"type": "address"
},
{
"internalType": "address[]",
"name": "addresses",
"type": "address[]"
},
{
"internalType": "uint256[]",
"name": "uints",
"type": "uint256[]"
}
],
"name": "createFixedRate",
"outputs": [
{
"internalType": "bytes32",
"name": "exchangeId",
"type": "bytes32"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "decimals",
"outputs": [
{
"internalType": "uint8",
"name": "",
"type": "uint8"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"internalType": "uint256",
"name": "subtractedValue",
"type": "uint256"
}
],
"name": "decreaseAllowance",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "getDispensers",
"outputs": [
{
"internalType": "address[]",
"name": "",
"type": "address[]"
}
],
"stateMutability": "view",
"type": "function"
},
2021-11-26 09:04:14 +01:00
{
"inputs": [],
"name": "getERC721Address",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getFixedRates",
"outputs": [
{
"components": [
{
"internalType": "address",
"name": "contractAddress",
"type": "address"
},
{
"internalType": "bytes32",
"name": "id",
"type": "bytes32"
}
],
"internalType": "struct ERC20TemplateEnterprise.fixedRate[]",
"name": "",
"type": "tuple[]"
}
],
"stateMutability": "view",
"type": "function"
},
2021-11-26 09:04:14 +01:00
{
"inputs": [],
"name": "getId",
"outputs": [
{
"internalType": "uint8",
"name": "",
"type": "uint8"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [],
"name": "getPaymentCollector",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "user",
"type": "address"
}
],
"name": "getPermissions",
"outputs": [
{
"components": [
{
"internalType": "bool",
"name": "minter",
"type": "bool"
},
{
"internalType": "bool",
"name": "paymentManager",
"type": "bool"
}
],
"internalType": "struct ERC20Roles.RolesERC20",
"name": "",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
},
2021-11-26 09:04:14 +01:00
{
"inputs": [],
"name": "getPublishingMarketFee",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"internalType": "uint256",
"name": "addedValue",
"type": "uint256"
}
],
"name": "increaseAllowance",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "string[]",
"name": "strings_",
"type": "string[]"
},
{
"internalType": "address[]",
"name": "addresses_",
"type": "address[]"
},
{
"internalType": "address[]",
"name": "factoryAddresses_",
"type": "address[]"
},
{
"internalType": "uint256[]",
"name": "uints_",
"type": "uint256[]"
},
{
"internalType": "bytes[]",
"name": "bytes_",
"type": "bytes[]"
}
],
"name": "initialize",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "user",
"type": "address"
}
],
"name": "isERC20Deployer",
"outputs": [
{
"internalType": "bool",
"name": "deployer",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
2021-11-26 09:04:14 +01:00
{
"inputs": [],
"name": "isInitialized",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "isMinter",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address"
},
{
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "mint",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "name",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "nonces",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "permissions",
"outputs": [
{
"internalType": "bool",
"name": "minter",
"type": "bool"
},
{
"internalType": "bool",
"name": "paymentManager",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"internalType": "uint256",
"name": "value",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "deadline",
"type": "uint256"
},
{
"internalType": "uint8",
"name": "v",
"type": "uint8"
},
{
"internalType": "bytes32",
"name": "r",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "s",
"type": "bytes32"
}
],
"name": "permit",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_minter",
"type": "address"
}
],
"name": "removeMinter",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_paymentManager",
"type": "address"
}
],
"name": "removePaymentManager",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "orderTxId",
"type": "bytes32"
},
{
"components": [
{
"internalType": "address",
"name": "providerFeeAddress",
"type": "address"
},
{
"internalType": "address",
"name": "providerFeeToken",
"type": "address"
},
{
"internalType": "uint256",
"name": "providerFeeAmount",
"type": "uint256"
},
{
"internalType": "uint8",
"name": "v",
"type": "uint8"
},
{
"internalType": "bytes32",
"name": "r",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "s",
"type": "bytes32"
},
{
"internalType": "uint256",
"name": "validUntil",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "providerData",
"type": "bytes"
}
],
"internalType": "struct ERC20TemplateEnterprise.providerFees",
"name": "_providerFees",
"type": "tuple"
}
],
"name": "reuseOrder",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
2021-11-26 09:04:14 +01:00
{
"inputs": [],
"name": "router",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes",
"name": "_value",
"type": "bytes"
}
],
"name": "setData",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_newPaymentCollector",
"type": "address"
}
],
"name": "setPaymentCollector",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_publishMarketFeeAddress",
"type": "address"
},
{
"internalType": "address",
"name": "_publishMarketFeeToken",
"type": "address"
},
{
"internalType": "uint256",
"name": "_publishMarketFeeAmount",
"type": "uint256"
}
],
"name": "setPublishingMarketFee",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "consumer",
"type": "address"
},
{
"internalType": "uint256",
"name": "serviceIndex",
2021-11-26 09:04:14 +01:00
"type": "uint256"
},
{
"components": [
{
"internalType": "address",
"name": "providerFeeAddress",
"type": "address"
},
{
"internalType": "address",
"name": "providerFeeToken",
"type": "address"
},
{
"internalType": "uint256",
"name": "providerFeeAmount",
"type": "uint256"
},
{
"internalType": "uint8",
"name": "v",
"type": "uint8"
},
{
"internalType": "bytes32",
"name": "r",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "s",
"type": "bytes32"
},
{
"internalType": "uint256",
"name": "validUntil",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "providerData",
"type": "bytes"
}
],
"internalType": "struct ERC20TemplateEnterprise.providerFees",
"name": "_providerFees",
"type": "tuple"
2021-11-26 09:04:14 +01:00
}
],
"name": "startOrder",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "symbol",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "totalSupply",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "recipient",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "transfer",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "sender",
"type": "address"
},
{
"internalType": "address",
"name": "recipient",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "transferFrom",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "withdrawETH",
"outputs": [],
"stateMutability": "payable",
"type": "function"
}
],
"bytecode": "0x6080604052600b805460ff60a01b191690553480156200001e57600080fd5b5060408051808201825260048152631d195cdd60e21b60208083019182528351808501909452600a8452691d195cdd14de5b589bdb60b21b9084015281519192916200006d9160039162000091565b5080516200008390600490602084019062000091565b505060016007555062000174565b8280546200009f9062000137565b90600052602060002090601f016020900481019282620000c357600085556200010e565b82601f10620000de57805160ff19168380011785556200010e565b828001600101855582156200010e579182015b828111156200010e578251825591602001919060010190620000f1565b506200011c92915062000120565b5090565b5b808211156200011c576000815560010162000121565b600181811c908216806200014c57607f821691505b602082108114156200016e57634e487b7160e01b600052602260045260246000fd5b50919050565b614c2e80620001846000396000f3fe6080604052600436106102ad5760003560e01c806357ad5ff611610166578063a9059cbb116100d3578063dd62ed3e1161008f578063e89b86651161006c578063e89b866514610965578063ec342ad014610985578063ef867ff4146109a1578063f887ea40146109c157005b8063dd62ed3e14610902578063e086e5ec14610948578063e487c2e81461095057005b8063a9059cbb14610829578063aa271e1a14610849578063aa492ef914610882578063ab62f0e1146108a2578063b3998be0146108c2578063d505accf146108e257005b806382c03da51161012257806382c03da51461077f5780638b96412b1461079457806395d89b41146107b457806396fb3eaf146107c9578063983b2d56146107e9578063a457c2d71461080957005b806357ad5ff6146106a65780635d1ca631146106c657806370a08231146106da57806379cc6790146107105780637dda231e146107305780637ecebe001461075257005b8063313ce5671161021c57806339509351116101d857806342966c68116101b557806342966c681461062f57806347ac7d551461064f5780634f189cb21461067157806357a3a31b1461068657005b806339509351146105b3578063397b3743146105d357806340c10f191461060f57005b8063313ce56714610507578063355274ea14610529578063361fef491461053e578063363bdb461461055e5780633644e5151461057e578063392e53cd1461059457005b806318160ddd1161026b57806318160ddd14610434578063191c918a1461045357806323b872dd1461047357806325b00243146104935780633092afd5146104b357806330adf81f146104d357005b80627ffb78146102af57806301e88208146102e65780630269ae111461033657806306fdde0314610356578063095ea7b314610378578063160a7925146103a8575b005b3480156102bb57600080fd5b50600c546001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b3480156102f257600080fd5b5061031f610301366004613d6b565b60056020526000908152604090205460ff8082169161010090041682565b6040805192151583529015156020830152016102dd565b34801561034257600080fd5b506102ad610351366004613da0565b6109e1565b34801561036257600080fd5b5061036b610e05565b6040516102dd9190613e25565b34801561038457600080fd5b50610398610393366004613e58565b610e97565b60405190151581526020016102dd565b3480156103b457600080fd5b506104156103c3366004613d6b565b6040805180820190915260008082526020820152506001600160a01b031660009081526005602090815260409182902082518084019093525460ff808216151584526101009091041615159082015290565b60408051825115158152602092830151151592810192909252016102dd565b34801561044057600080fd5b506002545b6040519081526020016102dd565b34801561045f57600080fd5b506102ad61046e366004613e92565b610ead565b34801561047f57600080fd5b5061039861048e366004613ef1565b61107f565b34801561049f57600080fd5b506102ad6104ae366004613d6b565b61112b565b3480156104bf57600080fd5b506102ad6104ce366004613d6b565b6111c5565b3480156104df57600080fd5b506104457f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b34801561051357600080fd5b5060125b60405160ff90911681526020016102dd565b34801561053557600080fd5b50600a54610445565b34801561054a57600080fd5b506102ad610559366004613f45565b61125c565b34801561056a57600080fd5b506102ad610579366004613f8b565b6112ad565b34801561058a57600080fd5b5061044560115481565b3480156105a057600080fd5b50600b54600160a01b900460ff16610398565b3480156105bf57600080fd5b506103986105ce366004613e58565b611587565b3480156105df57600080fd5b50600e54600f54601054604080516001600160a01b039485168152939092166020840152908201526060016102dd565b34801561061b57600080fd5b506102ad61062a366004613e58565b6115c3565b34801561063b57600080fd5b506102ad61064a366004613fe3565b611690565b34801561065b57600080fd5b5061066461169a565b6040516102dd9190614040565b34
"deployedBytecode": "0x6080604052600436106102ad5760003560e01c806357ad5ff611610166578063a9059cbb116100d3578063dd62ed3e1161008f578063e89b86651161006c578063e89b866514610965578063ec342ad014610985578063ef867ff4146109a1578063f887ea40146109c157005b8063dd62ed3e14610902578063e086e5ec14610948578063e487c2e81461095057005b8063a9059cbb14610829578063aa271e1a14610849578063aa492ef914610882578063ab62f0e1146108a2578063b3998be0146108c2578063d505accf146108e257005b806382c03da51161012257806382c03da51461077f5780638b96412b1461079457806395d89b41146107b457806396fb3eaf146107c9578063983b2d56146107e9578063a457c2d71461080957005b806357ad5ff6146106a65780635d1ca631146106c657806370a08231146106da57806379cc6790146107105780637dda231e146107305780637ecebe001461075257005b8063313ce5671161021c57806339509351116101d857806342966c68116101b557806342966c681461062f57806347ac7d551461064f5780634f189cb21461067157806357a3a31b1461068657005b806339509351146105b3578063397b3743146105d357806340c10f191461060f57005b8063313ce56714610507578063355274ea14610529578063361fef491461053e578063363bdb461461055e5780633644e5151461057e578063392e53cd1461059457005b806318160ddd1161026b57806318160ddd14610434578063191c918a1461045357806323b872dd1461047357806325b00243146104935780633092afd5146104b357806330adf81f146104d357005b80627ffb78146102af57806301e88208146102e65780630269ae111461033657806306fdde0314610356578063095ea7b314610378578063160a7925146103a8575b005b3480156102bb57600080fd5b50600c546001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b3480156102f257600080fd5b5061031f610301366004613d6b565b60056020526000908152604090205460ff8082169161010090041682565b6040805192151583529015156020830152016102dd565b34801561034257600080fd5b506102ad610351366004613da0565b6109e1565b34801561036257600080fd5b5061036b610e05565b6040516102dd9190613e25565b34801561038457600080fd5b50610398610393366004613e58565b610e97565b60405190151581526020016102dd565b3480156103b457600080fd5b506104156103c3366004613d6b565b6040805180820190915260008082526020820152506001600160a01b031660009081526005602090815260409182902082518084019093525460ff808216151584526101009091041615159082015290565b60408051825115158152602092830151151592810192909252016102dd565b34801561044057600080fd5b506002545b6040519081526020016102dd565b34801561045f57600080fd5b506102ad61046e366004613e92565b610ead565b34801561047f57600080fd5b5061039861048e366004613ef1565b61107f565b34801561049f57600080fd5b506102ad6104ae366004613d6b565b61112b565b3480156104bf57600080fd5b506102ad6104ce366004613d6b565b6111c5565b3480156104df57600080fd5b506104457f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b34801561051357600080fd5b5060125b60405160ff90911681526020016102dd565b34801561053557600080fd5b50600a54610445565b34801561054a57600080fd5b506102ad610559366004613f45565b61125c565b34801561056a57600080fd5b506102ad610579366004613f8b565b6112ad565b34801561058a57600080fd5b5061044560115481565b3480156105a057600080fd5b50600b54600160a01b900460ff16610398565b3480156105bf57600080fd5b506103986105ce366004613e58565b611587565b3480156105df57600080fd5b50600e54600f54601054604080516001600160a01b039485168152939092166020840152908201526060016102dd565b34801561061b57600080fd5b506102ad61062a366004613e58565b6115c3565b34801561063b57600080fd5b506102ad61064a366004613fe3565b611690565b34801561065b57600080fd5b5061066461169a565b6040516102dd9190614040565b34801561067d57600080fd5b506102ad6116fb565b34801561069257600080fd5b506102ad6106a1366004613d6b565b6117e2565b3480156106b257600080fd5b506102ad6106c1366004613ef1565b611924565b3480156106d257600080fd5b506002610517565b3480156106e657600080fd5b506104456106f5366004613d6b565b6001600160a01b031660009081526020819052604090205490565b34801561071c57600080fd5b506102ad61072b366004613e58565b611a78565b34801561073c57600080fd5b50610745611afe565b6040516102dd9190614053565b34801561075e57600080fd5b5061044561076d366004613d6b565b60126020526000908152604090205481565b34801561078b57600080fd5b506102ad611b73565b3480156107a057600080fd5b506104456107af36600461417f565b611bcd565b3480156107c057600080fd5b5061036b611e81565b3480156107d557600080fd5b506103986107e4366004613d6b565b611e90565b3480156107f5576000
2021-11-26 09:04:14 +01:00
"linkReferences": {},
"deployedLinkReferences": {}
}