Skip to content

Commit

Permalink
Merge 1e95ba6 into d758fd6
Browse files Browse the repository at this point in the history
  • Loading branch information
0xMasayoshi committed Jan 24, 2023
2 parents d758fd6 + 1e95ba6 commit 0accd44
Show file tree
Hide file tree
Showing 27 changed files with 4,472 additions and 2,522 deletions.
316 changes: 0 additions & 316 deletions abis/TransformationAdapter.json

This file was deleted.

44 changes: 44 additions & 0 deletions abis/WETHAdapter.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
[
{
"inputs": [
{
"internalType": "address",
"name": "_weth",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"internalType": "address payable",
"name": "to",
"type": "address"
}
],
"name": "unwrapNativeToken",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "wrapNativeToken",
"outputs": [],
"stateMutability": "payable",
"type": "function"
}
]
2 changes: 1 addition & 1 deletion contracts/shoyu/Shoyu.sol
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@rari-capital/solmate/src/tokens/ERC20.sol";
import "@rari-capital/solmate/src/tokens/ERC721.sol";
import "@rari-capital/solmate/src/tokens/ERC1155.sol";
import "./lib/AdapterRegistry.sol";
import "./adapters/AdapterRegistry.sol";

contract Shoyu is Ownable, Pausable, ReentrancyGuard {
AdapterRegistry public immutable adapterRegistry;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pragma solidity >=0.8.11;

import "@openzeppelin/contracts/access/Ownable.sol";
import { Adapter } from "./LibShoyu.sol";
import { Adapter } from "../lib/LibShoyu.sol";

contract AdapterRegistry is Ownable {
Adapter[] public adapters;
Expand Down
Loading

0 comments on commit 0accd44

Please sign in to comment.