• smartcontracts's avatar
    feat(ctp): introduce Drippie and rework deploy (#2569) · 416d2e60
    smartcontracts authored
    Drippie is a helper contract for managing automatic contract
    interactions. Drippie is meant to be deployed as a middle layer between
    our contracts and other automation services like Gelato. This commit
    also revamps the deployment process to use hardhat-deploy deterministic
    deployments, ledger support, and better authentication.
    416d2e60
SimpleStorage.sol 320 Bytes
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

contract SimpleStorage {
    mapping(bytes32 => bytes32) public db;

    function set(bytes32 _key, bytes32 _value) public payable {
        db[_key] = _value;
    }

    function get(bytes32 _key) public view returns (bytes32) {
        return db[_key];
    }
}