@0x/contracts-zero-ex
: Fix comments.
This commit is contained in:
@@ -56,7 +56,7 @@ contract Bootstrap is
|
||||
/// into `target`. Before exiting the `bootstrap()` function will
|
||||
/// deregister itself from the proxy to prevent being called again.
|
||||
/// @param target The bootstrapper contract address.
|
||||
/// @param callData The call data to execute on `_bootstrapper`.
|
||||
/// @param callData The call data to execute on `target`.
|
||||
function bootstrap(address target, bytes calldata callData) external override {
|
||||
// Only the bootstrap caller can call this function.
|
||||
if (msg.sender != _bootstrapCaller) {
|
||||
|
@@ -24,9 +24,9 @@ pragma experimental ABIEncoderV2;
|
||||
interface IBootstrap {
|
||||
|
||||
/// @dev Bootstrap the initial feature set of this contract by delegatecalling
|
||||
/// into `_bootstrapper`. Before exiting the `bootstrap()` function will
|
||||
/// into `target`. Before exiting the `bootstrap()` function will
|
||||
/// deregister itself from the proxy to prevent being called again.
|
||||
/// @param target The bootstrapper contract address.
|
||||
/// @param callData The call data to execute on `_bootstrapper`.
|
||||
/// @param callData The call data to execute on `target`.
|
||||
function bootstrap(address target, bytes calldata callData) external;
|
||||
}
|
||||
|
Reference in New Issue
Block a user