Contract 0x738080868c83D65582d51bA63CC9f23064F92E41

 
 
Txn Hash
Method
Block
From
To
Value
0xd4a7e581bf191d21c40ea47ec27f7131ee553d3aa57afd2652e237efe4de96a7Harvest Default ...119092742021-02-22 21:29:17647 days 5 hrs ago0x2b5ea603a7db03d4ea118ee4f6b030d65076c940 IN  0x738080868c83d65582d51ba63cc9f23064f92e410 Ether0.1084272140
0xe6d2b379909cb5751ce66c29d3720a6794a637a528718a12bc61f1036f32f16eHarvest Default ...118821762021-02-18 17:31:16651 days 9 hrs ago0x2b5ea603a7db03d4ea118ee4f6b030d65076c940 IN  0x738080868c83d65582d51ba63cc9f23064f92e410 Ether0.1553251195
0x2bbf7e8970fbe6435621a199412cf11cb65b18732b37670a7b54412957d48643Harvest Default ...118390402021-02-12 2:07:41658 days 35 mins ago0x2b5ea603a7db03d4ea118ee4f6b030d65076c940 IN  0x738080868c83d65582d51ba63cc9f23064f92e410 Ether0.09160198115
0xb7392befa5525cfbf798e9b42f9a37a48a712ce7bbec706a102e9443ea3179dfHarvest Default ...118035192021-02-06 15:17:39663 days 11 hrs ago0x2b5ea603a7db03d4ea118ee4f6b030d65076c940 IN  0x738080868c83d65582d51ba63cc9f23064f92e410 Ether0.12859311161
0xfd9e6c1a40e5eaca6ed5062efb352c8b359b35464df54a612b523f1cb000cbaaHarvest Default ...117852182021-02-03 19:37:29666 days 7 hrs ago0x2b5ea603a7db03d4ea118ee4f6b030d65076c940 IN  0x738080868c83d65582d51ba63cc9f23064f92e410 Ether0.08163508102
0x772273e42c069445fa2b48862be7c0ac677dc9dc18b2c8e837ec9d774d0a92d3Harvest Default ...117592572021-01-30 19:53:21670 days 6 hrs ago0x2b5ea603a7db03d4ea118ee4f6b030d65076c940 IN  0x738080868c83d65582d51ba63cc9f23064f92e410 Ether0.0623708880
0x3274023baf08a1fad7199521371c2752b1acbeea34fc9ba685cac01bd8fcc33eHarvest Default ...117336782021-01-26 21:02:31674 days 5 hrs ago0x2b5ea603a7db03d4ea118ee4f6b030d65076c940 IN  0x738080868c83d65582d51ba63cc9f23064f92e410 Ether0.0424182353
0xba24063bf96625ca013ef33bad50d7389dc8c94167ec4b9bc40cb7e60b18e55eHarvest Default ...117060222021-01-22 15:07:13678 days 11 hrs ago0x2b5ea603a7db03d4ea118ee4f6b030d65076c940 IN  0x738080868c83d65582d51ba63cc9f23064f92e410 Ether0.0519754666
0x2338504fe016096c6221fc73dd9f6a3c4ab9f226b984054b8bba05b8bb77665dHarvest Default ...116095452021-01-07 19:58:00693 days 6 hrs ago0x26d9e5f37f3232ec8747803990ffc42bc17ac9bd IN  0x738080868c83d65582d51ba63cc9f23064f92e410 Ether0.2316608280
0x7dd0f5b3d78765d248c9412653b4c73c112b09e8302a2ecd9658a742926be52eHarvest Default ...115763012021-01-02 17:21:18698 days 9 hrs ago0x26d9e5f37f3232ec8747803990ffc42bc17ac9bd IN  0x738080868c83d65582d51ba63cc9f23064f92e410 Ether0.2274608280
0xb04bd2fcd7b3b1c0d2dc5a1c24586437de4d996050d5aad14fd5d4b63a0a97f3Harvest Default ...114918632020-12-20 18:34:06711 days 8 hrs ago0x26d9e5f37f3232ec8747803990ffc42bc17ac9bd IN  0x738080868c83d65582d51ba63cc9f23064f92e410 Ether0.0477923460
0x904922b6e2fac1a9ad0337823c387b4a1a37c88a12fb14f380bf61e793cfa863Harvest Default ...114666212020-12-16 21:31:52715 days 5 hrs ago0x26d9e5f37f3232ec8747803990ffc42bc17ac9bd IN  0x738080868c83d65582d51ba63cc9f23064f92e410 Ether0.0392261550
0x2527bb02d26016dd7904c79476575fbed96d17d6c164f7efe97f4d1c439ef5a0Harvest Default ...114517152020-12-14 14:40:15717 days 12 hrs ago0xaaaaaae3f37b2dafae6b68fab878241085925bc5 IN  0x738080868c83d65582d51ba63cc9f23064f92e410 Ether0.0345535344.044
0x98188b0901df0c2f34651fbca4c53a21e73b26f61e0069a6473284a5b6c3d21bHarvest Default ...114395162020-12-12 17:35:06719 days 9 hrs ago0x26d9e5f37f3232ec8747803990ffc42bc17ac9bd IN  0x738080868c83d65582d51ba63cc9f23064f92e410 Ether0.0398269550
0xaf70c55efa021b9d6d4495e72e104a68d3a66aa4e4ce4d4d9be00b3bd65629c3Harvest Default ...114370252020-12-12 8:31:04719 days 18 hrs ago0xaaaaaae3f37b2dafae6b68fab878241085925bc5 IN  0x738080868c83d65582d51ba63cc9f23064f92e410 Ether0.0152130919.099
0x09f75c3d198d9ce5ac262d04dff6e711c5f959950a806134c09b48590be9617cHarvest Default ...114133492020-12-08 17:02:36723 days 9 hrs ago0xaaaaaae3f37b2dafae6b68fab878241085925bc5 IN  0x738080868c83d65582d51ba63cc9f23064f92e410 Ether0.0223253928.028
0x5af4bbe6a1fde10b84a26e7b63b48075efba23ecc869d75ccbc251be01cd3de4Harvest Default ...114012102020-12-06 20:03:09725 days 6 hrs ago0xaaaaaae3f37b2dafae6b68fab878241085925bc5 IN  0x738080868c83d65582d51ba63cc9f23064f92e410 Ether0.0102594212.88
0x39a2090d78c3aac2dd32b60f9486d30ce61e0a571f2094726650cbd8cf0d1c5fHarvest Strategy113936872020-12-05 16:23:44726 days 10 hrs ago0xaaaaaae3f37b2dafae6b68fab878241085925bc5 IN  0x738080868c83d65582d51ba63cc9f23064f92e410 Ether0.0175333422.022
0x82ef43ffb6b63d9059cb4963bdbc91068e59f4fe7bbe418aa64ef53aba4b1d53Harvest Default ...113873732020-12-04 16:57:11727 days 9 hrs ago0x26d9e5f37f3232ec8747803990ffc42bc17ac9bd IN  0x738080868c83d65582d51ba63cc9f23064f92e410 Ether0.0438174562.62804085
0x9d1fd7e453c23066c7da2a2bfeae116c5a51974ccb46c0331caf2054cffbd969Harvest Default ...113801922020-12-03 14:30:07728 days 12 hrs ago0x26d9e5f37f3232ec8747803990ffc42bc17ac9bd IN  0x738080868c83d65582d51ba63cc9f23064f92e410 Ether0.0321501145.93155893
0x59d3e82bbf81f13509358257364033e72a4d5a662fdb4811695d35e9821cbf2dHarvest Strategy113790592020-12-03 10:15:34728 days 16 hrs ago0xaaaaaae3f37b2dafae6b68fab878241085925bc5 IN  0x738080868c83d65582d51ba63cc9f23064f92e410 Ether0.014804918.88
0x63c4069fb6f4511d5103f25ae3d2e6432a513fbf732f773a10eb8b563d4a26d9Harvest Strategy113676512020-12-01 16:05:03730 days 10 hrs ago0xaaaaaae3f37b2dafae6b68fab878241085925bc5 IN  0x738080868c83d65582d51ba63cc9f23064f92e410 Ether0.022993528.88
0xe875a15b0d3f9ad166c26b0fde0db7355e8e41d8380f7d4aafb96acd671b1571Harvest Strategy113645052020-12-01 4:32:11730 days 22 hrs ago0xaaaaaae3f37b2dafae6b68fab878241085925bc5 IN  0x738080868c83d65582d51ba63cc9f23064f92e410 Ether0.0269743733.88
0x12216fe7f148315663f8b949186d2c856d6547aacc46bc0e1e53658c5c1077a0Set Governance113416592020-11-27 16:39:34734 days 10 hrs agoyAxis: Deployer IN  0x738080868c83d65582d51ba63cc9f23064f92e410 Ether0.0011031938.83
0x766143e9773c44a24653ad2c820bee2b2293fa7be049175d063c8491a48b7815Harvest Default ...113253832020-11-25 4:25:27736 days 22 hrs ago0xaaaaaae3f37b2dafae6b68fab878241085925bc5 IN  0x738080868c83d65582d51ba63cc9f23064f92e410 Ether0.0276459138.83
[ Download CSV Export 
View more zero value Internal Transactions in Advanced View mode
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
yAxisMetaVaultStrategists

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2020-11-02
*/

// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

interface IController {
    function harvestStrategy(address _strategy) external;
}

interface IStrategy {
    function harvest() external;
}

contract yAxisMetaVaultStrategists {
    address public governance;

    IController public controller;
    IStrategy public strategy;

    mapping(address => bool) public isStrategist;

    constructor() public {
        governance = msg.sender;
        isStrategist[governance] = true;
    }

    function setGovernance(address _governance) external {
        require(msg.sender == governance, "!governance");
        governance = _governance;
    }

    function addStrategist(address _strategist) public {
        require(msg.sender == governance, "!governance");
        isStrategist[_strategist] = true;
    }

    function removeStrategist(address _strategist) public {
        require(msg.sender == governance, "!governance");
        isStrategist[_strategist] = false;
    }

    function setController(IController _controller) external {
        require(msg.sender == governance, "!governance");
        controller = _controller;
    }

    function setStrategy(IStrategy _strategy) external {
        require(msg.sender == governance, "!governance");
        strategy = _strategy;
    }

    function harvestDefaultController() external {
        harvestController(controller, address(strategy));
    }

    function harvestController(IController _controller, address _strategy) public {
        require(isStrategist[msg.sender], "!strategist");
        _controller.harvestStrategy(_strategy);
    }

    function harvestDefaultStrategy() external {
        harvestStrategy(strategy);
    }

    function harvestStrategy(IStrategy _strategy) public {
        require(isStrategist[msg.sender], "!strategist");
        _strategy.harvest();
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"_strategist","type":"address"}],"name":"addStrategist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"controller","outputs":[{"internalType":"contract IController","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"governance","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IController","name":"_controller","type":"address"},{"internalType":"address","name":"_strategy","type":"address"}],"name":"harvestController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"harvestDefaultController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"harvestDefaultStrategy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IStrategy","name":"_strategy","type":"address"}],"name":"harvestStrategy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isStrategist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_strategist","type":"address"}],"name":"removeStrategist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IController","name":"_controller","type":"address"}],"name":"setController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_governance","type":"address"}],"name":"setGovernance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IStrategy","name":"_strategy","type":"address"}],"name":"setStrategy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"strategy","outputs":[{"internalType":"contract IStrategy","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b50600080546001600160a01b03191633178082556001600160a01b03168152600360205260409020805460ff191660011790556106a2806100526000396000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c806392eefe9b1161008c578063a1e9a69611610066578063a1e9a69614610228578063a8c62e7614610230578063ab033ea914610238578063f77c47911461025e576100cf565b806392eefe9b146101ae578063974642a2146101d45780639d21577714610202576100cf565b80632319c534146100d457806333a100ca146100fc5780634fd23373146101225780635aa6e6751461012a57806361f13e001461014e5780636734faee14610174575b600080fd5b6100fa600480360360208110156100ea57600080fd5b50356001600160a01b0316610266565b005b6100fa6004803603602081101561011257600080fd5b50356001600160a01b03166102d7565b6100fa610346565b610132610364565b604080516001600160a01b039092168252519081900360200190f35b6100fa6004803603602081101561016457600080fd5b50356001600160a01b0316610373565b61019a6004803603602081101561018a57600080fd5b50356001600160a01b031661041b565b604080519115158252519081900360200190f35b6100fa600480360360208110156101c457600080fd5b50356001600160a01b0316610430565b6100fa600480360360408110156101ea57600080fd5b506001600160a01b038135811691602001351661049f565b6100fa6004803603602081101561021857600080fd5b50356001600160a01b031661055c565b6100fa6105ca565b6101326105df565b6100fa6004803603602081101561024e57600080fd5b50356001600160a01b03166105ee565b61013261065d565b6000546001600160a01b031633146102b3576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b6001600160a01b03166000908152600360205260409020805460ff19166001179055565b6000546001600160a01b03163314610324576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b600154600254610362916001600160a01b03908116911661049f565b565b6000546001600160a01b031681565b3360009081526003602052604090205460ff166103c5576040805162461bcd60e51b815260206004820152600b60248201526a085cdd1c985d1959da5cdd60aa1b604482015290519081900360640190fd5b806001600160a01b0316634641257d6040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561040057600080fd5b505af1158015610414573d6000803e3d6000fd5b5050505050565b60036020526000908152604090205460ff1681565b6000546001600160a01b0316331461047d576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b3360009081526003602052604090205460ff166104f1576040805162461bcd60e51b815260206004820152600b60248201526a085cdd1c985d1959da5cdd60aa1b604482015290519081900360640190fd5b816001600160a01b03166361f13e00826040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b15801561054057600080fd5b505af1158015610554573d6000803e3d6000fd5b505050505050565b6000546001600160a01b031633146105a9576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b6001600160a01b03166000908152600360205260409020805460ff19169055565b600254610362906001600160a01b0316610373565b6002546001600160a01b031681565b6000546001600160a01b0316331461063b576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001546001600160a01b03168156fea2646970667358221220f902dd352f36a06cb9510abbe0c9dd3410505e871631849225dc50744e51d24864736f6c634300060c0033

Deployed ByteCode Sourcemap

213:1711:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;688:161;;;;;;;;;;;;;;;;-1:-1:-1;688:161:0;-1:-1:-1;;;;;688:161:0;;:::i;:::-;;1197:149;;;;;;;;;;;;;;;;-1:-1:-1;1197:149:0;-1:-1:-1;;;;;1197:149:0;;:::i;1354:112::-;;;:::i;255:25::-;;;:::i;:::-;;;;-1:-1:-1;;;;;255:25:0;;;;;;;;;;;;;;1771:150;;;;;;;;;;;;;;;;-1:-1:-1;1771:150:0;-1:-1:-1;;;;;1771:150:0;;:::i;359:44::-;;;;;;;;;;;;;;;;-1:-1:-1;359:44:0;-1:-1:-1;;;;;359:44:0;;:::i;:::-;;;;;;;;;;;;;;;;;;1030:159;;;;;;;;;;;;;;;;-1:-1:-1;1030:159:0;-1:-1:-1;;;;;1030:159:0;;:::i;1474:194::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;1474:194:0;;;;;;;;;;:::i;857:165::-;;;;;;;;;;;;;;;;-1:-1:-1;857:165:0;-1:-1:-1;;;;;857:165:0;;:::i;1676:87::-;;;:::i;325:25::-;;;:::i;525:155::-;;;;;;;;;;;;;;;;-1:-1:-1;525:155:0;-1:-1:-1;;;;;525:155:0;;:::i;289:29::-;;;:::i;688:161::-;772:10;;-1:-1:-1;;;;;772:10:0;758;:24;750:48;;;;;-1:-1:-1;;;750:48:0;;;;;;;;;;;;-1:-1:-1;;;750:48:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;809:25:0;;;;;:12;:25;;;;;:32;;-1:-1:-1;;809:32:0;837:4;809:32;;;688:161::o;1197:149::-;1281:10;;-1:-1:-1;;;;;1281:10:0;1267;:24;1259:48;;;;;-1:-1:-1;;;1259:48:0;;;;;;;;;;;;-1:-1:-1;;;1259:48:0;;;;;;;;;;;;;;;1318:8;:20;;-1:-1:-1;;;;;;1318:20:0;-1:-1:-1;;;;;1318:20:0;;;;;;;;;;1197:149::o;1354:112::-;1428:10;;1448:8;;1410:48;;-1:-1:-1;;;;;1428:10:0;;;;1448:8;1410:17;:48::i;:::-;1354:112::o;255:25::-;;;-1:-1:-1;;;;;255:25:0;;:::o;1771:150::-;1856:10;1843:24;;;;:12;:24;;;;;;;;1835:48;;;;;-1:-1:-1;;;1835:48:0;;;;;;;;;;;;-1:-1:-1;;;1835:48:0;;;;;;;;;;;;;;;1894:9;-1:-1:-1;;;;;1894:17:0;;:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1771:150;:::o;359:44::-;;;;;;;;;;;;;;;:::o;1030:159::-;1120:10;;-1:-1:-1;;;;;1120:10:0;1106;:24;1098:48;;;;;-1:-1:-1;;;1098:48:0;;;;;;;;;;;;-1:-1:-1;;;1098:48:0;;;;;;;;;;;;;;;1157:10;:24;;-1:-1:-1;;;;;;1157:24:0;-1:-1:-1;;;;;1157:24:0;;;;;;;;;;1030:159::o;1474:194::-;1584:10;1571:24;;;;:12;:24;;;;;;;;1563:48;;;;;-1:-1:-1;;;1563:48:0;;;;;;;;;;;;-1:-1:-1;;;1563:48:0;;;;;;;;;;;;;;;1622:11;-1:-1:-1;;;;;1622:27:0;;1650:9;1622:38;;;;;;;;;;;;;-1:-1:-1;;;;;1622:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1474:194;;:::o;857:165::-;944:10;;-1:-1:-1;;;;;944:10:0;930;:24;922:48;;;;;-1:-1:-1;;;922:48:0;;;;;;;;;;;;-1:-1:-1;;;922:48:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;981:25:0;1009:5;981:25;;;:12;:25;;;;;:33;;-1:-1:-1;;981:33:0;;;857:165::o;1676:87::-;1746:8;;1730:25;;-1:-1:-1;;;;;1746:8:0;1730:15;:25::i;325:::-;;;-1:-1:-1;;;;;325:25:0;;:::o;525:155::-;611:10;;-1:-1:-1;;;;;611:10:0;597;:24;589:48;;;;;-1:-1:-1;;;589:48:0;;;;;;;;;;;;-1:-1:-1;;;589:48:0;;;;;;;;;;;;;;;648:10;:24;;-1:-1:-1;;;;;;648:24:0;-1:-1:-1;;;;;648:24:0;;;;;;;;;;525:155::o;289:29::-;;;-1:-1:-1;;;;;289:29:0;;:::o

Swarm Source

ipfs://f902dd352f36a06cb9510abbe0c9dd3410505e871631849225dc50744e51d248
Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.