PullPayment rename fixes

This commit is contained in:
Michael J. Curry
2016-10-12 13:53:38 -04:00
parent 25d0ed0006
commit 21fb7463c7
7 changed files with 16 additions and 16 deletions

View File

@ -1,8 +1,8 @@
import '../PullPaymentCapable.sol';
import '../PullPayment.sol';
// UNSAFE CODE, DO NOT USE!
contract BadArrayUse is PullPaymentCapable {
contract BadArrayUse is PullPayment {
address[] employees;
function payBonus() {

View File

@ -1,6 +1,6 @@
import '../PullPaymentCapable.sol';
import '../PullPayment.sol';
contract GoodArrayUse is PullPaymentCapable {
contract GoodArrayUse is PullPayment {
address[] employees;
mapping(address => uint) bonuses;

View File

@ -1,6 +1,6 @@
import '../PullPaymentCapable.sol';
import '../PullPayment.sol';
contract PullPaymentBid is PullPaymentCapable {
contract PullPaymentBid is PullPayment {
address public highestBidder;
uint public highestBid;

View File

@ -1,7 +1,7 @@
import '../PullPaymentCapable.sol';
import '../PullPayment.sol';
// Example class using PullPaymentCapable
contract PullPaymentCapableExample is PullPaymentCapable {
// Example class using PullPayment
contract PullPaymentExample is PullPayment {
// test helper function to call asyncSend
function callSend(address dest, uint amount) external {
asyncSend(dest, amount);

View File

@ -1,13 +1,13 @@
import '../PullPaymentCapable.sol';
import '../PullPayment.sol';
import '../Stoppable.sol';
contract StoppableBid is Stoppable, PullPaymentCapable {
contract StoppableBid is Stoppable, PullPayment {
address public highestBidder;
uint public highestBid;
function StoppableBid(address _curator)
Stoppable(_curator)
PullPaymentCapable() {}
PullPayment() {}
function bid() external stopInEmergency {
if (msg.value <= highestBid) throw;