Skip to content

Commit

Permalink
remove addPermissionPrice from SoulLinker contract
Browse files Browse the repository at this point in the history
  • Loading branch information
miquelcabot committed Dec 20, 2022
1 parent cd974a4 commit d384312
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
7 changes: 0 additions & 7 deletions contracts/SoulLinker.sol
Expand Up @@ -40,22 +40,15 @@ contract SoulLinker is PaymentGateway, EIP712, Pausable {
/// @notice Creates a new soul linker
/// @param owner Owner of the smart contract
/// @param _soulboundIdentity Soulbound identity smart contract
/// @param _addPermissionPrice Store permission price in stable coin
/// @param _addPermissionPriceMASA Store permission price in MASA
/// @param paymentParams Payment gateway params
constructor(
address owner,
ISoulboundIdentity _soulboundIdentity,
uint256 _addPermissionPrice,
uint256 _addPermissionPriceMASA,
PaymentParams memory paymentParams
) EIP712("SoulLinker", "1.0.0") PaymentGateway(owner, paymentParams) {
if (address(_soulboundIdentity) == address(0)) revert ZeroAddress();

soulboundIdentity = _soulboundIdentity;

addPermissionPrice = _addPermissionPrice;
addPermissionPriceMASA = _addPermissionPriceMASA;
}

/* ========== RESTRICTED FUNCTIONS ====================================== */
Expand Down
2 changes: 0 additions & 2 deletions deploy/SoulLinker.ts
Expand Up @@ -68,8 +68,6 @@ const func: DeployFunction = async ({
const constructorArguments = [
env.ADMIN || admin.address,
soulboundIdentityDeployed.address,
"1000000", // 1 USDC, with 6 decimals
0,
[
swapRouter,
wrappedNativeToken,
Expand Down

0 comments on commit d384312

Please sign in to comment.