aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/src
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-07-28 04:28:16 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-08-17 08:31:21 +0800
commit7a6e6473866dae794b9876f900e5d6f5efd15911 (patch)
tree477459ff528842b8c00d85d5698165481be8ed11 /packages/contracts/src
parentf5459164d283c4b55a0514faf3213334c45fea50 (diff)
downloaddexon-sol-tools-7a6e6473866dae794b9876f900e5d6f5efd15911.tar
dexon-sol-tools-7a6e6473866dae794b9876f900e5d6f5efd15911.tar.gz
dexon-sol-tools-7a6e6473866dae794b9876f900e5d6f5efd15911.tar.bz2
dexon-sol-tools-7a6e6473866dae794b9876f900e5d6f5efd15911.tar.lz
dexon-sol-tools-7a6e6473866dae794b9876f900e5d6f5efd15911.tar.xz
dexon-sol-tools-7a6e6473866dae794b9876f900e5d6f5efd15911.tar.zst
dexon-sol-tools-7a6e6473866dae794b9876f900e5d6f5efd15911.zip
Add constructor back to DummyERC721Token
Diffstat (limited to 'packages/contracts/src')
-rw-r--r--packages/contracts/src/2.0.0/test/DummyERC721Token/DummyERC721Token.sol12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/contracts/src/2.0.0/test/DummyERC721Token/DummyERC721Token.sol b/packages/contracts/src/2.0.0/test/DummyERC721Token/DummyERC721Token.sol
index 7c64005bd..e995cc967 100644
--- a/packages/contracts/src/2.0.0/test/DummyERC721Token/DummyERC721Token.sol
+++ b/packages/contracts/src/2.0.0/test/DummyERC721Token/DummyERC721Token.sol
@@ -27,6 +27,18 @@ contract DummyERC721Token is
Ownable,
MintableERC721Token
{
+ string public name;
+ string public symbol;
+
+ constructor (
+ string _name,
+ string _symbol
+ )
+ public
+ {
+ name = _name;
+ symbol = _symbol;
+ }
/// @dev Function to mint a new token
/// Reverts if the given token ID already exists