Remove whitespace
This commit is contained in:
parent
75d426f0cc
commit
6d9a54b71c
@ -6,7 +6,7 @@ import './upgradeable/Upgradeable.sol';
|
|||||||
// ToDo: only load interfaces
|
// ToDo: only load interfaces
|
||||||
import './Token.sol';
|
import './Token.sol';
|
||||||
|
|
||||||
contract Contribution is Upgradeable, ERC721Token {
|
contract Contribution is Upgradeable, ERC721Token {
|
||||||
|
|
||||||
struct Contribution {
|
struct Contribution {
|
||||||
address contributor;
|
address contributor;
|
||||||
@ -19,9 +19,9 @@ contract Contribution is Upgradeable, ERC721Token {
|
|||||||
}
|
}
|
||||||
string internal name_;
|
string internal name_;
|
||||||
string internal symbol_;
|
string internal symbol_;
|
||||||
|
|
||||||
mapping(uint256 => string) contributionURIs;
|
mapping(uint256 => string) contributionURIs;
|
||||||
|
|
||||||
mapping(uint256 => address) contributionOwner;
|
mapping(uint256 => address) contributionOwner;
|
||||||
mapping(address => uint256[]) ownedContributions;
|
mapping(address => uint256[]) ownedContributions;
|
||||||
|
|
||||||
@ -68,7 +68,7 @@ contract Contribution is Upgradeable, ERC721Token {
|
|||||||
c.claimAfterBlock = block.number + blocksToWait;
|
c.claimAfterBlock = block.number + blocksToWait;
|
||||||
|
|
||||||
contributionsCount++;
|
contributionsCount++;
|
||||||
|
|
||||||
contributionOwner[contributionId] = contributor;
|
contributionOwner[contributionId] = contributor;
|
||||||
ownedContributions[contributor].push(contributionId);
|
ownedContributions[contributor].push(contributionId);
|
||||||
|
|
||||||
@ -85,7 +85,7 @@ contract Contribution is Upgradeable, ERC721Token {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function exists(uint256 contributionId) view public returns (bool) {
|
function exists(uint256 contributionId) view public returns (bool) {
|
||||||
return contributions[contributionId].exists;
|
return contributions[contributionId].exists;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user