This commit is contained in:
perissology 2018-03-29 07:18:16 -07:00
parent 137e8be188
commit 36b72e5c45
18 changed files with 408 additions and 309 deletions

File diff suppressed because one or more lines are too long

View File

@ -2170,12 +2170,12 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
uint constant MAX_INTERPROJECT_LEVEL = 20;
// Events
event GiverAdded(uint64 indexed idGiver);
event GiverUpdated(uint64 indexed idGiver);
event DelegateAdded(uint64 indexed idDelegate);
event DelegateUpdated(uint64 indexed idDelegate);
event ProjectAdded(uint64 indexed idProject);
event ProjectUpdated(uint64 indexed idProject);
event GiverAdded(uint64 indexed idGiver, string url);
event GiverUpdated(uint64 indexed idGiver, string url);
event DelegateAdded(uint64 indexed idDelegate, string url);
event DelegateUpdated(uint64 indexed idDelegate, string url);
event ProjectAdded(uint64 indexed idProject, string url);
event ProjectUpdated(uint64 indexed idProject, string url);
////////////////////
// Public functions
@ -2231,7 +2231,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
url)
);
GiverAdded(idGiver);
GiverAdded(idGiver, url);
}
/// @notice Updates a Giver's info to change the address, name, url, or
@ -2259,7 +2259,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
giver.url = newUrl;
giver.commitTime = newCommitTime;
GiverUpdated(idGiver);
GiverUpdated(idGiver, newUrl);
}
/// @notice Creates a Delegate Admin with the `msg.sender` as the Admin addr
@ -2295,7 +2295,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
url)
);
DelegateAdded(idDelegate);
DelegateAdded(idDelegate, url);
}
/// @notice Updates a Delegate's info to change the address, name, url, or
@ -2325,7 +2325,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
delegate.url = newUrl;
delegate.commitTime = newCommitTime;
DelegateUpdated(idDelegate);
DelegateUpdated(idDelegate, newUrl);
}
/// @notice Creates a Project Admin with the `msg.sender` as the Admin addr
@ -2371,7 +2371,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
url)
);
ProjectAdded(idProject);
ProjectAdded(idProject, url);
}
/// @notice Updates a Project's info to change the address, name, url, or
@ -2402,7 +2402,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
project.url = newUrl;
project.commitTime = newCommitTime;
ProjectUpdated(idProject);
ProjectUpdated(idProject, newUrl);
}
/////////////////////////////

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -740,12 +740,12 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
uint constant MAX_INTERPROJECT_LEVEL = 20;
// Events
event GiverAdded(uint64 indexed idGiver);
event GiverUpdated(uint64 indexed idGiver);
event DelegateAdded(uint64 indexed idDelegate);
event DelegateUpdated(uint64 indexed idDelegate);
event ProjectAdded(uint64 indexed idProject);
event ProjectUpdated(uint64 indexed idProject);
event GiverAdded(uint64 indexed idGiver, string url);
event GiverUpdated(uint64 indexed idGiver, string url);
event DelegateAdded(uint64 indexed idDelegate, string url);
event DelegateUpdated(uint64 indexed idDelegate, string url);
event ProjectAdded(uint64 indexed idProject, string url);
event ProjectUpdated(uint64 indexed idProject, string url);
////////////////////
// Public functions
@ -801,7 +801,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
url)
);
GiverAdded(idGiver);
GiverAdded(idGiver, url);
}
/// @notice Updates a Giver's info to change the address, name, url, or
@ -829,7 +829,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
giver.url = newUrl;
giver.commitTime = newCommitTime;
GiverUpdated(idGiver);
GiverUpdated(idGiver, newUrl);
}
/// @notice Creates a Delegate Admin with the `msg.sender` as the Admin addr
@ -865,7 +865,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
url)
);
DelegateAdded(idDelegate);
DelegateAdded(idDelegate, url);
}
/// @notice Updates a Delegate's info to change the address, name, url, or
@ -895,7 +895,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
delegate.url = newUrl;
delegate.commitTime = newCommitTime;
DelegateUpdated(idDelegate);
DelegateUpdated(idDelegate, newUrl);
}
/// @notice Creates a Project Admin with the `msg.sender` as the Admin addr
@ -941,7 +941,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
url)
);
ProjectAdded(idProject);
ProjectAdded(idProject, url);
}
/// @notice Updates a Project's info to change the address, name, url, or
@ -972,7 +972,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
project.url = newUrl;
project.commitTime = newCommitTime;
ProjectUpdated(idProject);
ProjectUpdated(idProject, newUrl);
}
/////////////////////////////

File diff suppressed because one or more lines are too long

View File

@ -740,12 +740,12 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
uint constant MAX_INTERPROJECT_LEVEL = 20;
// Events
event GiverAdded(uint64 indexed idGiver);
event GiverUpdated(uint64 indexed idGiver);
event DelegateAdded(uint64 indexed idDelegate);
event DelegateUpdated(uint64 indexed idDelegate);
event ProjectAdded(uint64 indexed idProject);
event ProjectUpdated(uint64 indexed idProject);
event GiverAdded(uint64 indexed idGiver, string url);
event GiverUpdated(uint64 indexed idGiver, string url);
event DelegateAdded(uint64 indexed idDelegate, string url);
event DelegateUpdated(uint64 indexed idDelegate, string url);
event ProjectAdded(uint64 indexed idProject, string url);
event ProjectUpdated(uint64 indexed idProject, string url);
////////////////////
// Public functions
@ -801,7 +801,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
url)
);
GiverAdded(idGiver);
GiverAdded(idGiver, url);
}
/// @notice Updates a Giver's info to change the address, name, url, or
@ -829,7 +829,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
giver.url = newUrl;
giver.commitTime = newCommitTime;
GiverUpdated(idGiver);
GiverUpdated(idGiver, newUrl);
}
/// @notice Creates a Delegate Admin with the `msg.sender` as the Admin addr
@ -865,7 +865,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
url)
);
DelegateAdded(idDelegate);
DelegateAdded(idDelegate, url);
}
/// @notice Updates a Delegate's info to change the address, name, url, or
@ -895,7 +895,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
delegate.url = newUrl;
delegate.commitTime = newCommitTime;
DelegateUpdated(idDelegate);
DelegateUpdated(idDelegate, newUrl);
}
/// @notice Creates a Project Admin with the `msg.sender` as the Admin addr
@ -941,7 +941,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
url)
);
ProjectAdded(idProject);
ProjectAdded(idProject, url);
}
/// @notice Updates a Project's info to change the address, name, url, or
@ -972,7 +972,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
project.url = newUrl;
project.commitTime = newCommitTime;
ProjectUpdated(idProject);
ProjectUpdated(idProject, newUrl);
}
/////////////////////////////

View File

@ -740,12 +740,12 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
uint constant MAX_INTERPROJECT_LEVEL = 20;
// Events
event GiverAdded(uint64 indexed idGiver);
event GiverUpdated(uint64 indexed idGiver);
event DelegateAdded(uint64 indexed idDelegate);
event DelegateUpdated(uint64 indexed idDelegate);
event ProjectAdded(uint64 indexed idProject);
event ProjectUpdated(uint64 indexed idProject);
event GiverAdded(uint64 indexed idGiver, string url);
event GiverUpdated(uint64 indexed idGiver, string url);
event DelegateAdded(uint64 indexed idDelegate, string url);
event DelegateUpdated(uint64 indexed idDelegate, string url);
event ProjectAdded(uint64 indexed idProject, string url);
event ProjectUpdated(uint64 indexed idProject, string url);
////////////////////
// Public functions
@ -801,7 +801,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
url)
);
GiverAdded(idGiver);
GiverAdded(idGiver, url);
}
/// @notice Updates a Giver's info to change the address, name, url, or
@ -829,7 +829,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
giver.url = newUrl;
giver.commitTime = newCommitTime;
GiverUpdated(idGiver);
GiverUpdated(idGiver, newUrl);
}
/// @notice Creates a Delegate Admin with the `msg.sender` as the Admin addr
@ -865,7 +865,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
url)
);
DelegateAdded(idDelegate);
DelegateAdded(idDelegate, url);
}
/// @notice Updates a Delegate's info to change the address, name, url, or
@ -895,7 +895,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
delegate.url = newUrl;
delegate.commitTime = newCommitTime;
DelegateUpdated(idDelegate);
DelegateUpdated(idDelegate, newUrl);
}
/// @notice Creates a Project Admin with the `msg.sender` as the Admin addr
@ -941,7 +941,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
url)
);
ProjectAdded(idProject);
ProjectAdded(idProject, url);
}
/// @notice Updates a Project's info to change the address, name, url, or
@ -972,7 +972,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
project.url = newUrl;
project.commitTime = newCommitTime;
ProjectUpdated(idProject);
ProjectUpdated(idProject, newUrl);
}
/////////////////////////////

File diff suppressed because one or more lines are too long

View File

@ -740,12 +740,12 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
uint constant MAX_INTERPROJECT_LEVEL = 20;
// Events
event GiverAdded(uint64 indexed idGiver);
event GiverUpdated(uint64 indexed idGiver);
event DelegateAdded(uint64 indexed idDelegate);
event DelegateUpdated(uint64 indexed idDelegate);
event ProjectAdded(uint64 indexed idProject);
event ProjectUpdated(uint64 indexed idProject);
event GiverAdded(uint64 indexed idGiver, string url);
event GiverUpdated(uint64 indexed idGiver, string url);
event DelegateAdded(uint64 indexed idDelegate, string url);
event DelegateUpdated(uint64 indexed idDelegate, string url);
event ProjectAdded(uint64 indexed idProject, string url);
event ProjectUpdated(uint64 indexed idProject, string url);
////////////////////
// Public functions
@ -801,7 +801,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
url)
);
GiverAdded(idGiver);
GiverAdded(idGiver, url);
}
/// @notice Updates a Giver's info to change the address, name, url, or
@ -829,7 +829,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
giver.url = newUrl;
giver.commitTime = newCommitTime;
GiverUpdated(idGiver);
GiverUpdated(idGiver, newUrl);
}
/// @notice Creates a Delegate Admin with the `msg.sender` as the Admin addr
@ -865,7 +865,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
url)
);
DelegateAdded(idDelegate);
DelegateAdded(idDelegate, url);
}
/// @notice Updates a Delegate's info to change the address, name, url, or
@ -895,7 +895,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
delegate.url = newUrl;
delegate.commitTime = newCommitTime;
DelegateUpdated(idDelegate);
DelegateUpdated(idDelegate, newUrl);
}
/// @notice Creates a Project Admin with the `msg.sender` as the Admin addr
@ -941,7 +941,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
url)
);
ProjectAdded(idProject);
ProjectAdded(idProject, url);
}
/// @notice Updates a Project's info to change the address, name, url, or
@ -972,7 +972,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
project.url = newUrl;
project.commitTime = newCommitTime;
ProjectUpdated(idProject);
ProjectUpdated(idProject, newUrl);
}
/////////////////////////////
@ -1103,12 +1103,12 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
uint constant MAX_INTERPROJECT_LEVEL = 20;
// Events
event GiverAdded(uint64 indexed idGiver);
event GiverUpdated(uint64 indexed idGiver);
event DelegateAdded(uint64 indexed idDelegate);
event DelegateUpdated(uint64 indexed idDelegate);
event ProjectAdded(uint64 indexed idProject);
event ProjectUpdated(uint64 indexed idProject);
event GiverAdded(uint64 indexed idGiver, string url);
event GiverUpdated(uint64 indexed idGiver, string url);
event DelegateAdded(uint64 indexed idDelegate, string url);
event DelegateUpdated(uint64 indexed idDelegate, string url);
event ProjectAdded(uint64 indexed idProject, string url);
event ProjectUpdated(uint64 indexed idProject, string url);
////////////////////
// Public functions
@ -1164,7 +1164,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
url)
);
GiverAdded(idGiver);
GiverAdded(idGiver, url);
}
/// @notice Updates a Giver's info to change the address, name, url, or
@ -1192,7 +1192,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
giver.url = newUrl;
giver.commitTime = newCommitTime;
GiverUpdated(idGiver);
GiverUpdated(idGiver, newUrl);
}
/// @notice Creates a Delegate Admin with the `msg.sender` as the Admin addr
@ -1228,7 +1228,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
url)
);
DelegateAdded(idDelegate);
DelegateAdded(idDelegate, url);
}
/// @notice Updates a Delegate's info to change the address, name, url, or
@ -1258,7 +1258,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
delegate.url = newUrl;
delegate.commitTime = newCommitTime;
DelegateUpdated(idDelegate);
DelegateUpdated(idDelegate, newUrl);
}
/// @notice Creates a Project Admin with the `msg.sender` as the Admin addr
@ -1304,7 +1304,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
url)
);
ProjectAdded(idProject);
ProjectAdded(idProject, url);
}
/// @notice Updates a Project's info to change the address, name, url, or
@ -1335,7 +1335,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
project.url = newUrl;
project.commitTime = newCommitTime;
ProjectUpdated(idProject);
ProjectUpdated(idProject, newUrl);
}
/////////////////////////////

File diff suppressed because one or more lines are too long

View File

@ -740,12 +740,12 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
uint constant MAX_INTERPROJECT_LEVEL = 20;
// Events
event GiverAdded(uint64 indexed idGiver);
event GiverUpdated(uint64 indexed idGiver);
event DelegateAdded(uint64 indexed idDelegate);
event DelegateUpdated(uint64 indexed idDelegate);
event ProjectAdded(uint64 indexed idProject);
event ProjectUpdated(uint64 indexed idProject);
event GiverAdded(uint64 indexed idGiver, string url);
event GiverUpdated(uint64 indexed idGiver, string url);
event DelegateAdded(uint64 indexed idDelegate, string url);
event DelegateUpdated(uint64 indexed idDelegate, string url);
event ProjectAdded(uint64 indexed idProject, string url);
event ProjectUpdated(uint64 indexed idProject, string url);
////////////////////
// Public functions
@ -801,7 +801,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
url)
);
GiverAdded(idGiver);
GiverAdded(idGiver, url);
}
/// @notice Updates a Giver's info to change the address, name, url, or
@ -829,7 +829,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
giver.url = newUrl;
giver.commitTime = newCommitTime;
GiverUpdated(idGiver);
GiverUpdated(idGiver, newUrl);
}
/// @notice Creates a Delegate Admin with the `msg.sender` as the Admin addr
@ -865,7 +865,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
url)
);
DelegateAdded(idDelegate);
DelegateAdded(idDelegate, url);
}
/// @notice Updates a Delegate's info to change the address, name, url, or
@ -895,7 +895,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
delegate.url = newUrl;
delegate.commitTime = newCommitTime;
DelegateUpdated(idDelegate);
DelegateUpdated(idDelegate, newUrl);
}
/// @notice Creates a Project Admin with the `msg.sender` as the Admin addr
@ -941,7 +941,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
url)
);
ProjectAdded(idProject);
ProjectAdded(idProject, url);
}
/// @notice Updates a Project's info to change the address, name, url, or
@ -972,7 +972,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
project.url = newUrl;
project.commitTime = newCommitTime;
ProjectUpdated(idProject);
ProjectUpdated(idProject, newUrl);
}
/////////////////////////////
@ -2384,7 +2384,7 @@ contract TestSimpleDelegatePlugin {
event BeforeTransfer(uint64 pledgeAdmin, uint64 pledgeFrom, uint64 pledgeTo, uint64 context, uint amount);
event AfterTransfer(uint64 pledgeAdmin, uint64 pledgeFrom, uint64 pledgeTo, uint64 context, uint amount);
function TestSimpleDelegatePlugin(LiquidPledging _liquidPledging) {
function TestSimpleDelegatePlugin(LiquidPledging _liquidPledging) public {
require(msg.sender != tx.origin); // Avoids being created directly by mistake.
liquidPledging = _liquidPledging;
initPending = true;
@ -2394,7 +2394,7 @@ contract TestSimpleDelegatePlugin {
string name,
string url,
uint64 commitTime
) {
) public {
require(initPending);
idDelegate = liquidPledging.addDelegate(name, url, commitTime, ILiquidPledgingPlugin(this));
initPending = false;
@ -2426,12 +2426,12 @@ contract TestSimpleDelegatePlugin {
contract TestSimpleDelegatePluginFactory {
function TestSimpleDelegatePluginFactory (
function TestSimpleDelegatePluginFactory(
LiquidPledging liquidPledging,
string name,
string url,
uint64 commitTime
) {
) public {
TestSimpleDelegatePlugin d = new TestSimpleDelegatePlugin(liquidPledging);
d.init(name, url, commitTime);
}
@ -2455,7 +2455,7 @@ contract TestSimpleDelegatePlugin {
event BeforeTransfer(uint64 pledgeAdmin, uint64 pledgeFrom, uint64 pledgeTo, uint64 context, uint amount);
event AfterTransfer(uint64 pledgeAdmin, uint64 pledgeFrom, uint64 pledgeTo, uint64 context, uint amount);
function TestSimpleDelegatePlugin(LiquidPledging _liquidPledging) {
function TestSimpleDelegatePlugin(LiquidPledging _liquidPledging) public {
require(msg.sender != tx.origin); // Avoids being created directly by mistake.
liquidPledging = _liquidPledging;
initPending = true;
@ -2465,7 +2465,7 @@ contract TestSimpleDelegatePlugin {
string name,
string url,
uint64 commitTime
) {
) public {
require(initPending);
idDelegate = liquidPledging.addDelegate(name, url, commitTime, ILiquidPledgingPlugin(this));
initPending = false;
@ -2497,12 +2497,12 @@ contract TestSimpleDelegatePlugin {
contract TestSimpleDelegatePluginFactory {
function TestSimpleDelegatePluginFactory (
function TestSimpleDelegatePluginFactory(
LiquidPledging liquidPledging,
string name,
string url,
uint64 commitTime
) {
) public {
TestSimpleDelegatePlugin d = new TestSimpleDelegatePlugin(liquidPledging);
d.init(name, url, commitTime);
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -740,12 +740,12 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
uint constant MAX_INTERPROJECT_LEVEL = 20;
// Events
event GiverAdded(uint64 indexed idGiver);
event GiverUpdated(uint64 indexed idGiver);
event DelegateAdded(uint64 indexed idDelegate);
event DelegateUpdated(uint64 indexed idDelegate);
event ProjectAdded(uint64 indexed idProject);
event ProjectUpdated(uint64 indexed idProject);
event GiverAdded(uint64 indexed idGiver, string url);
event GiverUpdated(uint64 indexed idGiver, string url);
event DelegateAdded(uint64 indexed idDelegate, string url);
event DelegateUpdated(uint64 indexed idDelegate, string url);
event ProjectAdded(uint64 indexed idProject, string url);
event ProjectUpdated(uint64 indexed idProject, string url);
////////////////////
// Public functions
@ -801,7 +801,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
url)
);
GiverAdded(idGiver);
GiverAdded(idGiver, url);
}
/// @notice Updates a Giver's info to change the address, name, url, or
@ -829,7 +829,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
giver.url = newUrl;
giver.commitTime = newCommitTime;
GiverUpdated(idGiver);
GiverUpdated(idGiver, newUrl);
}
/// @notice Creates a Delegate Admin with the `msg.sender` as the Admin addr
@ -865,7 +865,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
url)
);
DelegateAdded(idDelegate);
DelegateAdded(idDelegate, url);
}
/// @notice Updates a Delegate's info to change the address, name, url, or
@ -895,7 +895,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
delegate.url = newUrl;
delegate.commitTime = newCommitTime;
DelegateUpdated(idDelegate);
DelegateUpdated(idDelegate, newUrl);
}
/// @notice Creates a Project Admin with the `msg.sender` as the Admin addr
@ -941,7 +941,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
url)
);
ProjectAdded(idProject);
ProjectAdded(idProject, url);
}
/// @notice Updates a Project's info to change the address, name, url, or
@ -972,7 +972,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
project.url = newUrl;
project.commitTime = newCommitTime;
ProjectUpdated(idProject);
ProjectUpdated(idProject, newUrl);
}
/////////////////////////////

View File

@ -740,12 +740,12 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
uint constant MAX_INTERPROJECT_LEVEL = 20;
// Events
event GiverAdded(uint64 indexed idGiver);
event GiverUpdated(uint64 indexed idGiver);
event DelegateAdded(uint64 indexed idDelegate);
event DelegateUpdated(uint64 indexed idDelegate);
event ProjectAdded(uint64 indexed idProject);
event ProjectUpdated(uint64 indexed idProject);
event GiverAdded(uint64 indexed idGiver, string url);
event GiverUpdated(uint64 indexed idGiver, string url);
event DelegateAdded(uint64 indexed idDelegate, string url);
event DelegateUpdated(uint64 indexed idDelegate, string url);
event ProjectAdded(uint64 indexed idProject, string url);
event ProjectUpdated(uint64 indexed idProject, string url);
////////////////////
// Public functions
@ -801,7 +801,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
url)
);
GiverAdded(idGiver);
GiverAdded(idGiver, url);
}
/// @notice Updates a Giver's info to change the address, name, url, or
@ -829,7 +829,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
giver.url = newUrl;
giver.commitTime = newCommitTime;
GiverUpdated(idGiver);
GiverUpdated(idGiver, newUrl);
}
/// @notice Creates a Delegate Admin with the `msg.sender` as the Admin addr
@ -865,7 +865,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
url)
);
DelegateAdded(idDelegate);
DelegateAdded(idDelegate, url);
}
/// @notice Updates a Delegate's info to change the address, name, url, or
@ -895,7 +895,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
delegate.url = newUrl;
delegate.commitTime = newCommitTime;
DelegateUpdated(idDelegate);
DelegateUpdated(idDelegate, newUrl);
}
/// @notice Creates a Project Admin with the `msg.sender` as the Admin addr
@ -941,7 +941,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
url)
);
ProjectAdded(idProject);
ProjectAdded(idProject, url);
}
/// @notice Updates a Project's info to change the address, name, url, or
@ -972,7 +972,7 @@ contract PledgeAdmins is AragonApp, LiquidPledgingPlugins {
project.url = newUrl;
project.commitTime = newCommitTime;
ProjectUpdated(idProject);
ProjectUpdated(idProject, newUrl);
}
/////////////////////////////

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long