Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
openzeppelin-contracts-upgradeable
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
俞永鹏
openzeppelin-contracts-upgradeable
Commits
5c07cd14
Unverified
Commit
5c07cd14
authored
Oct 12, 2016
by
Michael J. Curry
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add pragmas and get tests to run
parent
21fb7463
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
18 additions
and
0 deletions
+18
-0
LimitFunds.sol
contracts/LimitFunds.sol
+1
-0
BadArrayUse.sol
contracts/examples/BadArrayUse.sol
+1
-0
BadFailEarly.sol
contracts/examples/BadFailEarly.sol
+1
-0
BadPushPayments.sol
contracts/examples/BadPushPayments.sol
+1
-0
GoodArrayUse.sol
contracts/examples/GoodArrayUse.sol
+1
-0
GoodFailEarly.sol
contracts/examples/GoodFailEarly.sol
+2
-0
GoodPullPayments.sol
contracts/examples/GoodPullPayments.sol
+1
-0
ProofOfExistence.sol
contracts/examples/ProofOfExistence.sol
+2
-0
PullPaymentBid.sol
contracts/examples/PullPaymentBid.sol
+2
-0
PullPaymentExample.sol
contracts/examples/PullPaymentExample.sol
+2
-0
StoppableBid.sol
contracts/examples/StoppableBid.sol
+2
-0
PullPaymentMock.sol
contracts/test-helpers/PullPaymentMock.sol
+1
-0
TestOwnable.sol
test/TestOwnable.sol
+1
-0
No files found.
contracts/LimitFunds.sol
View file @
5c07cd14
pragma solidity ^0.4.0;
contract LimitFunds {
contract LimitFunds {
uint LIMIT = 5000;
uint LIMIT = 5000;
...
...
contracts/examples/BadArrayUse.sol
View file @
5c07cd14
pragma solidity ^0.4.0;
import '../PullPayment.sol';
import '../PullPayment.sol';
// UNSAFE CODE, DO NOT USE!
// UNSAFE CODE, DO NOT USE!
...
...
contracts/examples/BadFailEarly.sol
View file @
5c07cd14
pragma solidity ^0.4.0;
// UNSAFE CODE, DO NOT USE!
// UNSAFE CODE, DO NOT USE!
contract BadFailEarly {
contract BadFailEarly {
...
...
contracts/examples/BadPushPayments.sol
View file @
5c07cd14
pragma solidity ^0.4.0;
// UNSAFE CODE, DO NOT USE!
// UNSAFE CODE, DO NOT USE!
contract BadPushPayments {
contract BadPushPayments {
...
...
contracts/examples/GoodArrayUse.sol
View file @
5c07cd14
pragma solidity ^0.4.0;
import '../PullPayment.sol';
import '../PullPayment.sol';
contract GoodArrayUse is PullPayment {
contract GoodArrayUse is PullPayment {
...
...
contracts/examples/GoodFailEarly.sol
View file @
5c07cd14
pragma solidity ^0.4.0;
contract GoodFailEarly {
contract GoodFailEarly {
uint constant DEFAULT_SALARY = 50000;
uint constant DEFAULT_SALARY = 50000;
...
...
contracts/examples/GoodPullPayments.sol
View file @
5c07cd14
pragma solidity ^0.4.0;
contract GoodPullPayments {
contract GoodPullPayments {
address highestBidder;
address highestBidder;
uint highestBid;
uint highestBid;
...
...
contracts/examples/ProofOfExistence.sol
View file @
5c07cd14
pragma solidity ^0.4.0;
import "../Rejector.sol";
import "../Rejector.sol";
/*
/*
...
...
contracts/examples/PullPaymentBid.sol
View file @
5c07cd14
pragma solidity ^0.4.0;
import '../PullPayment.sol';
import '../PullPayment.sol';
contract PullPaymentBid is PullPayment {
contract PullPaymentBid is PullPayment {
...
...
contracts/examples/PullPayment
Capable
Example.sol
→
contracts/examples/PullPaymentExample.sol
View file @
5c07cd14
pragma solidity ^0.4.0;
import '../PullPayment.sol';
import '../PullPayment.sol';
// Example class using PullPayment
// Example class using PullPayment
...
...
contracts/examples/StoppableBid.sol
View file @
5c07cd14
pragma solidity ^0.4.0;
import '../PullPayment.sol';
import '../PullPayment.sol';
import '../Stoppable.sol';
import '../Stoppable.sol';
...
...
contracts/test-helpers/PullPaymentMock.sol
View file @
5c07cd14
pragma solidity ^0.4.0;
import '../PullPayment.sol';
import '../PullPayment.sol';
// mock class using PullPayment
// mock class using PullPayment
...
...
test/TestOwnable.sol
View file @
5c07cd14
pragma solidity ^0.4.0;
import "truffle/Assert.sol";
import "truffle/Assert.sol";
import "truffle/DeployedAddresses.sol";
import "truffle/DeployedAddresses.sol";
import "../contracts/Ownable.sol";
import "../contracts/Ownable.sol";
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment