This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts (last updated v5.3.0) (token/ERC20/extensions/ERC4626.sol) | |
pragma solidity ^0.8.20; | |
import {IERC20, IERC20Metadata, ERC20} from "../ERC20.sol"; | |
import {SafeERC20} from "../utils/SafeERC20.sol"; | |
import {IERC4626} from "../../../interfaces/IERC4626.sol"; | |
import {Math} from "../../../utils/math/Math.sol"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
········································································································································································ | |
| Solidity and Network Configuration │ | |
···················································································|·················|···············|·················|································ | |
| Solidity: 0.8.24 · Optim: true · Runs: 200 · viaIR: true · Block: 30,000,000 gas │ | |
···················································································|·················|···············|·················|································ | |
| Methods │ | |
·········· |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import axios from "axios"; | |
import { plumaaConfig } from "~/config"; | |
import { | |
MutationCreateSignatureRequestArgs, | |
MutationCreateSignatureRequestInviteArgs, | |
QuerySignFileUrlArgs, | |
S3PresignedUrl, | |
SignatureRequest, | |
SignatureRequestInvite, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; | |
import {Math} from "@openzeppelin/contracts/utils/math/Math.sol"; | |
import {StorageSlot} from "@openzeppelin/contracts/utils/StorageSlot.sol"; | |
import {SlotDerivation} from "@openzeppelin/contracts/utils/SlotDerivation.sol"; | |
abstract contract ERC20TemporaryAllowance is ERC20 { | |
using StorageSlot for bytes32; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// src/MyERC20Capped.sol | |
// SPDX-License-Identifier: UNLICENSED | |
pragma solidity ^0.8.13; | |
import {ERC20Capped, ERC20} from "@openzeppelin/contracts/token/ERC20/extensions/ERC20Capped.sol"; | |
contract MyERC20Capped is ERC20Capped { | |
uint256 addressZeroBalance; | |
function balanceOf(address account) public view override returns (uint256) { |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/artifacts/contracts-exposed/access/AccessControl.sol/$AccessControl.dbg.json b/artifacts/contracts-exposed/access/AccessControl.sol/$AccessControl.dbg.json | |
index ff9280ad4..fea49431d 100644 | |
--- a/artifacts/contracts-exposed/access/AccessControl.sol/$AccessControl.dbg.json | |
+++ b/artifacts/contracts-exposed/access/AccessControl.sol/$AccessControl.dbg.json | |
@@ -1,4 +1,4 @@ | |
{ | |
"_format": "hh-sol-dbg-1", | |
- "buildInfo": "../../../build-info/c0f5723c3d5695fc4492239463caf509.json" | |
+ "buildInfo": "../../../build-info/fbb43385a440fe40c92c0cdb4c61c53a.json" | |
} |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/artifacts/contracts-exposed/access/AccessControl.sol/$AccessControl.dbg.json b/artifacts/contracts-exposed/access/AccessControl.sol/$AccessControl.dbg.json | |
index ff9280ad4..3fbfdcaea 100644 | |
--- a/artifacts/contracts-exposed/access/AccessControl.sol/$AccessControl.dbg.json | |
+++ b/artifacts/contracts-exposed/access/AccessControl.sol/$AccessControl.dbg.json | |
@@ -1,4 +1,4 @@ | |
{ | |
"_format": "hh-sol-dbg-1", | |
- "buildInfo": "../../../build-info/c0f5723c3d5695fc4492239463caf509.json" | |
+ "buildInfo": "../../../build-info/366106209f5f98ed3dc132cb6b3e9e1f.json" | |
} |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/coverage.json b/coverage.json | |
index 3498531f6..401e4fe5b 100644 | |
--- a/coverage.json | |
+++ b/coverage.json | |
@@ -1 +1 @@ | |
-{"contracts/access/AccessControl.sol":{"l":{"64":300,"65":281,"72":27,"79":613,"87":309,"95":340,"96":27,"107":144,"123":87,"138":21,"158":21,"159":4,"162":17,"171":15,"172":15,"173":15,"184":141,"185":132,"186":132,"187":132,"189":9,"201":49,"202":32,"203":32,"204":32,"206":17},"path":"/Users/ernestognw/Documents/OpenZeppelin/contracts/solidity/contracts/access/AccessControl.sol","s":{"1":300,"2":27,"3":613,"4":309,"5":340,"6":144,"7":87,"8":21,"9":21,"10":17,"11":15,"12":15,"13":141,"14":132,"15":132,"16":9,"17":49,"18":32,"19":32,"20":17},"b":{"1":[9,0],"2":[27,313],"3":[87,6],"4":[21,6],"5":[4,17],"6":[132,9],"7":[32,17]},"f":{"1":300,"2":27,"3":613,"4":309,"5":340,"6":144,"7":87,"8":21,"9":21,"10":15,"11":141,"12":49},"fnMap":{"1":{"name":"onlyRole","line":63,"loc":{"start":{"line":63,"column":4},"end":{"line":66,"column":4}}},"2":{"name":"supportsInterface","line":71,"loc":{" |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/artifacts/contracts-exposed/access/AccessControl.sol/$AccessControl.dbg.json b/artifacts/contracts-exposed/access/AccessControl.sol/$AccessControl.dbg.json | |
index ff9280ad4..3fbfdcaea 100644 | |
--- a/artifacts/contracts-exposed/access/AccessControl.sol/$AccessControl.dbg.json | |
+++ b/artifacts/contracts-exposed/access/AccessControl.sol/$AccessControl.dbg.json | |
@@ -1,4 +1,4 @@ | |
{ | |
"_format": "hh-sol-dbg-1", | |
- "buildInfo": "../../../build-info/c0f5723c3d5695fc4492239463caf509.json" | |
+ "buildInfo": "../../../build-info/366106209f5f98ed3dc132cb6b3e9e1f.json" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.20; | |
import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; | |
import {SafeCast} from "@openzeppelin/contracts/utils/math/SafeCast.sol"; | |
import {Checkpoints} from "@openzeppelin/contracts/utils/structs/Checkpoints.sol"; | |
import {IERC6372} from "@openzeppelin/contracts/interfaces/6372.sol"; | |
abstract contract ERC20Snapshot is ERC20, IERC6372 { |
NewerOlder