Skip to content

Instantly share code, notes, and snippets.

View ZILECAO's full-sized avatar

Zile ZILECAO

View GitHub Profile
@ZILECAO
ZILECAO / BridXeEscrow.sol
Last active July 22, 2022 23:32
BridXe Phygital Marketplace Escrow Draft
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
import './ReentrancyGuard.sol';
// TODO: There is a bug in BuyerConfirmDelivery where if you put in false, it still confirms the delivery
// TODO: implement seller locks NFT in escrow
// TODO: After BuyerConfrimDelivery is true, take item out of getSellOrders array
// TODO: After BuyerConfirmDelvery is false and/or EscrowRefund Item, reset values so that item is either delisted or back up for sale
@ZILECAO
ZILECAO / Escrow2ABI.json
Created July 3, 2022 02:13
ABI for Escrow Smart Contract (used to interact with contract functions in https://contract.mph.am/)
{
"_format": "hh-sol-artifact-1",
"contractName": "Escrow2",
"sourceName": "contracts/Escrow2.sol",
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},