diff --git a/src/cat.sol b/src/cat.sol index 0614f361..a7c58866 100644 --- a/src/cat.sol +++ b/src/cat.sol @@ -46,7 +46,7 @@ contract VowLike { function fess(uint) external; } -contract Cat is DSNote { +contract Cat is LibNote { // --- Auth --- mapping (address => uint) public wards; function rely(address usr) external note auth { wards[usr] = 1; } diff --git a/src/dai.sol b/src/dai.sol index 8f935c23..f9f36c97 100644 --- a/src/dai.sol +++ b/src/dai.sol @@ -17,7 +17,7 @@ pragma solidity 0.5.11; import "./lib.sol"; -contract Dai is DSNote { +contract Dai is LibNote { // --- Auth --- mapping (address => uint) public wards; function rely(address guy) external note auth { wards[guy] = 1; } diff --git a/src/end.sol b/src/end.sol index f0ed98ae..7023ccfb 100644 --- a/src/end.sol +++ b/src/end.sol @@ -188,7 +188,7 @@ contract Spotty { - the number of gems is limited by how big your bag is */ -contract End is DSNote { +contract End is LibNote { // --- Auth --- mapping (address => uint) public wards; function rely(address guy) external note auth { wards[guy] = 1; } diff --git a/src/flap.sol b/src/flap.sol index f1159513..ea07a2c8 100644 --- a/src/flap.sol +++ b/src/flap.sol @@ -37,7 +37,7 @@ contract GemLike { - `end` max auction duration */ -contract Flapper is DSNote { +contract Flapper is LibNote { // --- Auth --- mapping (address => uint) public wards; function rely(address usr) external note auth { wards[usr] = 1; } diff --git a/src/flip.sol b/src/flip.sol index 95f3cdd0..4921e6db 100644 --- a/src/flip.sol +++ b/src/flip.sol @@ -38,7 +38,7 @@ contract VatLike { - `end` max auction duration */ -contract Flipper is DSNote { +contract Flipper is LibNote { // --- Auth --- mapping (address => uint) public wards; function rely(address usr) external note auth { wards[usr] = 1; } diff --git a/src/flop.sol b/src/flop.sol index db8cb964..c4537a50 100644 --- a/src/flop.sol +++ b/src/flop.sol @@ -37,7 +37,7 @@ contract GemLike { - `end` max auction duration */ -contract Flopper is DSNote { +contract Flopper is LibNote { // --- Auth --- mapping (address => uint) public wards; function rely(address usr) external note auth { wards[usr] = 1; } diff --git a/src/join.sol b/src/join.sol index 89e150d8..2efeb928 100644 --- a/src/join.sol +++ b/src/join.sol @@ -59,7 +59,7 @@ contract VatLike { */ -contract GemJoin is DSNote { +contract GemJoin is LibNote { // --- Auth --- mapping (address => uint) public wards; function rely(address usr) external note auth { wards[usr] = 1; } @@ -96,7 +96,7 @@ contract GemJoin is DSNote { } } -contract ETHJoin is DSNote { +contract ETHJoin is LibNote { // --- Auth --- mapping (address => uint) public wards; function rely(address usr) external note auth { wards[usr] = 1; } @@ -128,7 +128,7 @@ contract ETHJoin is DSNote { } } -contract DaiJoin is DSNote { +contract DaiJoin is LibNote { // --- Auth --- mapping (address => uint) public wards; function rely(address usr) external note auth { wards[usr] = 1; } diff --git a/src/jug.sol b/src/jug.sol index 1188c9cf..be2c504a 100644 --- a/src/jug.sol +++ b/src/jug.sol @@ -12,7 +12,7 @@ contract VatLike { function fold(bytes32,address,int) external; } -contract Jug is DSNote { +contract Jug is LibNote { // --- Auth --- mapping (address => uint) public wards; function rely(address usr) external note auth { wards[usr] = 1; } diff --git a/src/lib.sol b/src/lib.sol index eba2f460..5b91c115 100644 --- a/src/lib.sol +++ b/src/lib.sol @@ -13,7 +13,7 @@ pragma solidity 0.5.11; -contract DSNote { +contract LibNote { event LogNote( bytes4 indexed sig, address indexed usr, diff --git a/src/pot.sol b/src/pot.sol index 83023aa0..f5d2e0dc 100644 --- a/src/pot.sol +++ b/src/pot.sol @@ -43,7 +43,7 @@ contract VatLike { function suck(address,address,uint256) external; } -contract Pot is DSNote { +contract Pot is LibNote { // --- Auth --- mapping (address => uint) public wards; function rely(address guy) external note auth { wards[guy] = 1; } diff --git a/src/spot.sol b/src/spot.sol index eecb9228..77fa529a 100644 --- a/src/spot.sol +++ b/src/spot.sol @@ -25,7 +25,7 @@ contract PipLike { function peek() external returns (bytes32, bool); } -contract Spotter is DSNote { +contract Spotter is LibNote { // --- Auth --- mapping (address => uint) public wards; function rely(address guy) external note auth { wards[guy] = 1; } diff --git a/src/vow.sol b/src/vow.sol index 117e90e3..9683ea0d 100644 --- a/src/vow.sol +++ b/src/vow.sol @@ -38,7 +38,7 @@ contract VatLike { function hope(address) external; } -contract Vow is DSNote { +contract Vow is LibNote { // --- Auth --- mapping (address => uint) public wards; function rely(address usr) external note auth { require(live == 1); wards[usr] = 1; }