ForgeV1

Verified contract

Active on Ethereum with 585 txns
Deployed by via 0x87c8fd49 at 15695380
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
0x3f5c14c8fcb72bd970131af5cea476ea6602334169f2a27e6eb8a72ce044059d
0x124b8225d110575ebd0d7faca64a74b71bcbadf46080e5b2285d88863f807438
0x9095f7a4bd5a3a0253e730f0017fd7bc41c94acadcefbf517df1017392f91345
0xcf392f53ade84b14f23a696067927d53ef05710226fa383c2067e9f825801cfb
0x3dae7a2f001406f916dd3af40fe7ce5393e8040a7fce83e019dd76cfe987d464
0x3abc870cc384f020927b339d92c0cdaffbd1aa417d9b84d32bc395e16ed247e1
0x6dbb6faaaa8b7272d09dccf2a4b7920dadfc94a1638252d95b2869643fd64cde
0x4751813bfb6eb2c6c33a55c61d64ed24328a05bf46100f6fc0d9313588a7a27f
0xe3cca55f4eafac75888a2fe4c3c82e8fb9aceb39160295b1bc461567c65c8522
0x0ad320485c8aa284d3b4a464346b2b727d690a3dd8f2c41b3b09baf7f23343b5

Functions
Getter at block 21212132
BLACK_SMITH(view returns (bytes32)
0xda9408af46d6239a7469c08df52c8ccc5eb58b28ac8caeb3bea74af6843c8169
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
DYNASET_DECIMALS(view returns (uint256)
18
SLIPPAGE_FACTOR(view returns (uint256)
1000
USDC(view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
USDC_DECIMALS(view returns (uint256)
6
WETH(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
WITHDRAW_FEE_2_5_PERCENT(view returns (uint256)
250
WITHDRAW_FEE_2_5_PERCENT_PERIOD(view returns (uint256)
7776000
WITHDRAW_FEE_4_PERCENT(view returns (uint256)
400
WITHDRAW_FEE_4_PERCENT_PERIOD(view returns (uint256)
5184000
WITHDRAW_FEE_5_PERCENT(view returns (uint256)
500
WITHDRAW_FEE_5_PERCENT_PERIOD(view returns (uint256)
2592000
WITHDRAW_FEE_FACTOR(view returns (uint256)
10000
deadline(view returns (uint256)
0
dynaset(view returns (address)
0xda49af8773cb162ca56f8431442c750896f8c87a
dynasetTvlOracle(view returns (address)
0xa37f48577a9141bd94e7d6a2c976852c77d2baa2
lpWithdraw(view returns (bool)
true
slippage(view returns (uint256)
50
totalFee(view returns (uint256)
0
totalForges(view returns (uint256)
15
uniswapV2Router(view returns (address)
0x7a250d5630b4cf539739df2c5dacb4c659f2488d
Read-only
calculateContributionUsdc(uint256 forgeIdview returns (uint256 contrib)
capitalSlash(uint256 amountuint256 contributionTimeview returns (uint256)
contributors(uint256uint256view returns (address contributorAddressuint256 contributedAmount)
forgeInfo(uint256view returns (bool isEthaddress contributionTokenuint256 dynasetLpuint256 totalContributionuint256 minContributionuint256 maxContributionuint256 maxCapuint256 contributionPeriodbool withdrawEnabledbool depositEnabledbool forginguint256 nextForgeContributorIndex)
getContributor(uint256 iduint256 indexview returns (address)
getForgeBalance(uint256 forgeIdview returns (uint256)
getOutputAmount(uint256 forgeIdview returns (uint256 amount)
getRoleAdmin(bytes32 roleview returns (bytes32)
getUserContribution(uint256 forgeIdaddress userview returns (uint256)
getUserDynasetsOwned(uint256 forgeIdaddress userview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
userInfo(uint256addressview returns (uint256 depositAmountuint256 dynasetsOwed)
State-modifying
createForge(bool isEthaddress contributionTokenuint256 mincontribuint256 maxcontribuint256 maxcapital
deposit(uint256 forgeIduint256 amountaddress topayable 
depositOutput(uint256 forgeIduint256 amount
forgeFunction(uint256 forgeIduint256 contributorsToMintuint256 minimumAmountOut
grantRole(bytes32 roleaddress account
redeem(uint256 forgeIduint256 amountaddress redeemTokenuint256 minimumAmountOut
redeemFromWallet(uint256 forgeIduint256 amountaddress redeemTokenuint256 minimumAmountOut
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setDeadline(uint256 newDeadline
setDeposit(bool statusuint256 forgeId
setSlippage(uint256 newSlippage
setWithdraw(bool statusuint256 forgeId
setlpWithdraw(bool status
startForging(uint256 forgeId
updateOracle(address newDynasetTvlOracle
upgradeUniswapV2Router(address newUniswapV2Router
withdrawFee(
withdrawOutput(uint256 forgeIduint256 amount
Events
Deposited(address indexed calleraddress indexed useruint256 amount
DepositedLP(address indexed useruint256 indexed forgeIduint256 amount
ForgeDepositEnabled(bool statusuint256 forgeId
ForgeWithdrawEnabled(bool statusuint256 forgeId
Forged(address indexed useruint256 indexed amountuint256 price
ForgingStarted(uint256 indexed forgeIduint256 indexed nextForgeContributorIndex
LogForgeAddition(uint256 indexed forgeIdaddress indexed contributionToken
OracleUpdated(address oracle
Redeemed(address indexed useruint256 amount
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
RouterUpgraded(address router
SetlpWithdraw(bool lpWithdraw
Withdraw(address indexed useruint256 amount
Constructor
constructor(address _blacksmithaddress _dynasetaddress _dynasetTvlOracle
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.