erc20_payment_lib 0.5.1

Payment processor for ERC20 tokens
Documentation
[
    {
        "inputs": [],
        "name": "AlreadyExists",
        "type": "error"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "internalType": "bytes32",
                "name": "uid",
                "type": "bytes32"
            },
            {
                "indexed": false,
                "internalType": "address",
                "name": "registerer",
                "type": "address"
            }
        ],
        "name": "Registered",
        "type": "event"
    },
    {
        "inputs": [],
        "name": "VERSION",
        "outputs": [
            {
                "internalType": "string",
                "name": "",
                "type": "string"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "bytes32",
                "name": "uid",
                "type": "bytes32"
            }
        ],
        "name": "getSchema",
        "outputs": [
            {
                "components": [
                    {
                        "internalType": "bytes32",
                        "name": "uid",
                        "type": "bytes32"
                    },
                    {
                        "internalType": "contract ISchemaResolver",
                        "name": "resolver",
                        "type": "address"
                    },
                    {
                        "internalType": "bool",
                        "name": "revocable",
                        "type": "bool"
                    },
                    {
                        "internalType": "string",
                        "name": "schema",
                        "type": "string"
                    }
                ],
                "internalType": "struct SchemaRecord",
                "name": "",
                "type": "tuple"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "string",
                "name": "schema",
                "type": "string"
            },
            {
                "internalType": "contract ISchemaResolver",
                "name": "resolver",
                "type": "address"
            },
            {
                "internalType": "bool",
                "name": "revocable",
                "type": "bool"
            }
        ],
        "name": "register",
        "outputs": [
            {
                "internalType": "bytes32",
                "name": "",
                "type": "bytes32"
            }
        ],
        "stateMutability": "nonpayable",
        "type": "function"
    }
]