Skip to content

Instantly share code, notes, and snippets.

@mathieu166
mathieu166 / contracts...drip-price-reader.sol
Created March 8, 2023 14:17
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.18+commit.87f61d96.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.16;
contract DripPriceReaderV1 {
uint public _bnbPrice;
uint public _dripBnbRatio;
constructor(uint bnbPrice, uint dripBnbRatio){
_bnbPrice = bnbPrice;