Skip to content
Verified contractExactAGPL-3.0

LlamaPayVestingReasons

Address0xa83965c2ebcd3d809f59030d2f7d3c6c646ded3d
Balance

0 ETH

 

Transactions

2

 

Compiler

solc 0.8.17

 

Same code

Only this contract

 

Details

Compiler
solc 0.8.17+commit.8df45f5f
Language
solidity
Optimization
Yes, 200 runs
EVM version
london
License
AGPL-3.0
Match
Exactcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
15,977,105
Creation transaction
0x44688726a6…58d0499ffd

src/LlamaPayVestingReasons.sol

// SPDX-License-Identifier: AGPL-3.0

pragma solidity ^0.8.17;

interface VestingContract {
    function admin() external view returns (address);
}

error NOT_ADMIN();

contract LlamaPayVestingReasons {
    mapping(address => string) public reasons;

    function addReason(address _vestingContract, string memory _reason)
        external
    {
        if (VestingContract(_vestingContract).admin() != msg.sender)
            revert NOT_ADMIN();
        reasons[_vestingContract] = _reason;
    }
}
Compiler settingsShow
{
  "metadata": {
    "bytecodeHash": "ipfs"
  },
  "libraries": {},
  "optimizer": {
    "runs": 200,
    "enabled": true
  },
  "evmVersion": "london",
  "remappings": [
    "ds-test/=lib/forge-std/lib/ds-test/src/",
    "forge-std/=lib/forge-std/src/"
  ]
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.