all files / contracts/Example/ TestProcessor.sol

100% Statements 1/1
100% Branches 0/0
100% Functions 2/2
100% Lines 1/1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16                             
// SPDX-License-Identifier: ISC
pragma solidity ^0.8.7;
 
import "../PaymentProcessor.sol";
 
contract TestProcessor is PaymentProcessor {
    // Initialize Your Smart Contracts
    constructor() PaymentProcessor() {}
 
    function mockSale(string memory _ticker, uint256 _usd) public virtual {
        // Process Payments Equivalent in USD inside your smart contracts
        // usd should be represented in 8 decimals - 1 USD = 100000000
        payment(_ticker, "", _usd);
    }
}