Skip to content
Verified contractExactUNLICENSED

ExtoPlanV7

Address0xe2cff64b1da0e08e009ca30545cffac445a3aecb
Balance

0 ETH

 

Transactions

1

 

Compiler

solc 0.8.24

 

Same code

Only this contract

 

Details

Compiler
solc 0.8.24+commit.e11b9ed9
Language
solidity
Optimization
Yes, 50 runs
EVM version
paris
License
UNLICENSED
Match
Exactcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
21,628,120
Creation transaction
0x9f55d8b042…ac8668c2b9

Read45

  • ReleaseLockupAt() → (uint256)
  • aggregatorInterface() → (address)
  • baseRate() → (int256)
  • canRefund() → (bool)
  • cntEnrollment() → (uint256)
  • cntRefund() → (uint256)
  • creator() → (address)
  • enrollEndAt() → (uint256)
  • enrollPeriod() → (uint256)
  • enrollStartAt() → (uint256)
  • extoInterface() → (address)
  • extoTokenMiles() → (address)
  • extoValue() → (uint256)
  • feeRate() → (uint32)
  • getEnrollStartAt() → (uint256)
  • getRewardable(uint256) → (uint256)
  • getUserStaking(address,uint256) → (tuple)
  • getUserStakings(address) → (tuple[])
  • getYieldRate() → (int256,int256,int256)
  • isClosePlan() → (bool)
  • isIndivReward() → (bool)
  • isSingleContract() → (bool)
  • mapClaimable(address) → (uint256)
  • mapDeposits(address) → (uint256)
  • mapRefunds(address) → (uint256)
  • mapRewards(address) → (uint256)
  • mapStaking(address,uint256) → (uint256,uint256,uint256,uint256,int256,address,uint8)
  • maxDeposit() → (uint256)
  • minDeposit() → (uint256)
  • operator() → (address)
  • owner() → (address)
  • paused() → (bool)
  • planEndAt() → (uint256)
  • planLockupPeriod() → (uint256)
  • planPeriod() → (uint256)
  • planStartAt() → (uint256)
  • rewardCount() → (uint256)
  • rewardSentAt() → (uint256)
  • rewardTerm() → (uint256)
  • targetDeposit() → (uint256)
  • tempDeposits() → (uint256)
  • totalDeposit() → (uint256)
  • totalEnrollments() → (uint256)
  • totalRefund() → (uint256)
  • totalRewards() → (uint256)

Write30

  • allowRefundHolder(address,uint256[],uint256[])
  • claimRefundToHolder(uint256,uint256,uint256)
  • enrollPlan(address,uint256,address)
  • enrollPlanByBSC(address[],uint256[],address[])
  • enrollPlanWithReferrer(address,uint256,address)
  • forceClosePlan()
  • forceRefundPlan(bool)
  • initEnroll(uint256,uint256,uint256,uint256,uint256,uint256,bool,uint256,bool)
  • initialize(address,address,address,address,int256)
  • pause()
  • refundStaking(uint256,uint256)
  • refundStakings(uint256[],uint256)
  • renounceOwnership()
  • resetDeposit(address,address)
  • setCreator(address)
  • setDepositAmount(uint256,uint256)
  • setEnrollment(uint256,uint256)
  • setFeeRate(uint32)
  • setFlagStatus(address,uint256,uint8,bool)
  • setIndivReward(bool)
  • setOperator(address)
  • setPeriod(uint256)
  • setPlanLockupPeriod(uint256)
  • setPlanPeriod(uint256,uint256)
  • setRewardTerm(uint256)
  • setTargetDeposit(uint256)
  • startPlan(uint256,uint256,uint256)
  • transferDeposits(uint256,address)
  • transferOwnership(address)
  • unpause()

Events18

  • AllowRefund(address,uint256,uint256)
  • ChangeAddress(address,address,uint256)
  • ClaimRefundToHolder(address,uint256,int256,uint256,uint256)
  • Enrollment(address,uint256,uint256,address,uint256)
  • Initialized(uint64)
  • ListUpReward(address,uint256,uint256,uint256)
  • OwnershipTransferred(address,address)
  • Paused(address)
  • Refund(address,uint256,uint256)
  • Refunds(address,uint256,uint256,uint256)
  • ReleaseReward(address,uint256,uint256)
  • ReleaseRewardToHolder(address,uint256,int256,uint256)
  • ReleaseRewardToPlan(address,uint256,int256,uint256)
  • RewardsEachByNet(address,uint256,int256,uint256)
  • SetEnrollment(uint256,uint256,uint256)
  • SetPlanPeriod(uint256,uint256,uint256)
  • StatusPlan(bytes32,uint256)
  • Unpaused(address)

Errors7

  • EnforcedPause()
  • ExpectedPause()
  • InvalidInitialization()
  • NotInitializing()
  • OwnableInvalidOwner(address)
  • OwnableUnauthorizedAccount(address)
  • ReentrancyGuardReentrantCall()

ABI as JSON

[
  {
    "name": "EnforcedPause",
    "type": "error",
    "inputs": []
  },
  {
    "name": "ExpectedPause",
    "type": "error",
    "inputs": []
  },
  {
    "name": "InvalidInitialization",
    "type": "error",
    "inputs": []
  },
  {
    "name": "NotInitializing",
    "type": "error",
    "inputs": []
  },
  {
    "name": "OwnableInvalidOwner",
    "type": "error",
    "inputs": [
      {
        "name": "owner",
        "type": "address",
        "internalType": "address"
      }
    ]
  },
  {
    "name": "OwnableUnauthorizedAccount",
    "type": "error",
    "inputs": [
      {
        "name": "account",
        "type": "address",
        "internalType": "address"
      }
    ]
  },
  {
    "name": "ReentrancyGuardReentrantCall",
    "type": "error",
    "inputs": []
  },
  {
    "name": "AllowRefund",
    "type": "event",
    "inputs": [
      {
        "name": "user",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "amount",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      },
      {
        "name": "timestamp",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      }
    ],
    "anonymous": false
  },
  {
    "name": "ChangeAddress",
    "type": "event",
    "inputs": [
      {
        "name": "from",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "to",
        "type": "address",
        "indexed": false,
        "internalType": "address"
      },
      {
        "name": "timestamp",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      }
    ],
    "anonymous": false
  },
  {
    "name": "ClaimRefundToHolder",
    "type": "event",
    "inputs": [
      {
        "name": "user",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "amount",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      },
      {
        "name": "yieldRate",
        "type": "int256",
        "indexed": false,
        "internalType": "int256"
      },
      {
        "name": "refund",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      },
      {
        "name": "timestamp",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      }
    ],
    "anonymous": false
  },
  {
    "name": "Enrollment",
    "type": "event",
    "inputs": [
      {
        "name": "user",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "amount",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      },
      {
        "name": "stakingLength",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      },
      {
        "name": "referrer",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "timestamp",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      }
    ],
    "anonymous": false
  },
  {
    "name": "Initialized",
    "type": "event",
    "inputs": [
      {
        "name": "version",
        "type": "uint64",
        "indexed": false,
        "internalType": "uint64"
      }
    ],
    "anonymous": false
  },
  {
    "name": "ListUpReward",
    "type": "event",
    "inputs": [
      {
        "name": "user",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "length",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      },
      {
        "name": "total",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      },
      {
        "name": "timestamp",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      }
    ],
    "anonymous": false
  },
  {
    "name": "OwnershipTransferred",
    "type": "event",
    "inputs": [
      {
        "name": "previousOwner",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "newOwner",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      }
    ],
    "anonymous": false
  },
  {
    "name": "Paused",
    "type": "event",
    "inputs": [
      {
        "name": "account",
        "type": "address",
        "indexed": false,
        "internalType": "address"
      }
    ],
    "anonymous": false
  },
  {
    "name": "Refund",
    "type": "event",
    "inputs": [
      {
        "name": "user",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "amount",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      },
      {
        "name": "timestamp",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      }
    ],
    "anonymous": false
  },
  {
    "name": "Refunds",
    "type": "event",
    "inputs": [
      {
        "name": "user",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "amount",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      },
      {
        "name": "length",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      },
      {
        "name": "timestamp",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      }
    ],
    "anonymous": false
  },
  {
    "name": "ReleaseReward",
    "type": "event",
    "inputs": [
      {
        "name": "user",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "amount",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      },
      {
        "name": "timestamp",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      }
    ],
    "anonymous": false
  },
  {
    "name": "ReleaseRewardToHolder",
    "type": "event",
    "inputs": [
      {
        "name": "user",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "amount",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      },
      {
        "name": "yieldRate",
        "type": "int256",
        "indexed": false,
        "internalType": "int256"
      },
      {
        "name": "timestamp",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      }
    ],
    "anonymous": false
  },
  {
    "name": "ReleaseRewardToPlan",
    "type": "event",
    "inputs": [
      {
        "name": "user",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "amount",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      },
      {
        "name": "yieldRate",
        "type": "int256",
        "indexed": false,
        "internalType": "int256"
      },
      {
        "name": "timestamp",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      }
    ],
    "anonymous": false
  },
  {
    "name": "RewardsEachByNet",
    "type": "event",
    "inputs": [
      {
        "name": "user",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "amount",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      },
      {
        "name": "yieldRate",
        "type": "int256",
        "indexed": false,
        "internalType": "int256"
      },
      {
        "name": "timestamp",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      }
    ],
    "anonymous": false
  },
  {
    "name": "SetEnrollment",
    "type": "event",
    "inputs": [
      {
        "name": "enrollStartAt",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      },
      {
        "name": "enrollPeriod",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      },
      {
        "name": "timestamp",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      }
    ],
    "anonymous": false
  },
  {
    "name": "SetPlanPeriod",
    "type": "event",
    "inputs": [
      {
        "name": "planStartAt",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      },
      {
        "name": "planPeriod",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      },
      {
        "name": "timestamp",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      }
    ],
    "anonymous": false
  },
  {
    "name": "StatusPlan",
    "type": "event",
    "inputs": [
      {
        "name": "key",
        "type": "bytes32",
        "indexed": true,
        "internalType": "bytes32"
      },
      {
        "name": "timestamp",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      }
    ],
    "anonymous": false
  },
  {
    "name": "Unpaused",
    "type": "event",
    "inputs": [
      {
        "name": "account",
        "type": "address",
        "indexed": false,
        "internalType": "address"
      }
    ],
    "anonymous": false
  },
  {
    "name": "ReleaseLockupAt",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "aggregatorInterface",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "contract Aggregator"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "allowRefundHolder",
    "type": "function",
    "inputs": [
      {
        "name": "_holder",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "_stakingIdx",
        "type": "uint256[]",
        "internalType": "uint256[]"
      },
      {
        "name": "_refund",
        "type": "uint256[]",
        "internalType": "uint256[]"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "baseRate",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "int256",
        "internalType": "int256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "canRefund",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "claimRefundToHolder",
    "type": "function",
    "inputs": [
      {
        "name": "_stakingIdx",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "_reward",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "_refund",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "cntEnrollment",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "cntRefund",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "creator",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "enrollEndAt",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "enrollPeriod",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "enrollPlan",
    "type": "function",
    "inputs": [
      {
        "name": "_address",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "_amount",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "_referrer",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "enrollPlanByBSC",
    "type": "function",
    "inputs": [
      {
        "name": "_address",
        "type": "address[]",
        "internalType": "address[]"
      },
      {
        "name": "_amount",
        "type": "uint256[]",
        "internalType": "uint256[]"
      },
      {
        "name": "_referrer",
        "type": "address[]",
        "internalType": "address[]"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "enrollPlanWithReferrer",
    "type": "function",
    "inputs": [
      {
        "name": "_address",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "_amount",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "_referrer",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "enrollStartAt",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "extoInterface",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "contract IERC20"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "extoTokenMiles",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "contract IExtoTokenMiles"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "extoValue",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "feeRate",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint32",
        "internalType": "uint32"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "forceClosePlan",
    "type": "function",
    "inputs": [],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "forceRefundPlan",
    "type": "function",
    "inputs": [
      {
        "name": "_canRefund",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "getEnrollStartAt",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "getRewardable",
    "type": "function",
    "inputs": [
      {
        "name": "_stakingIdx",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "getUserStaking",
    "type": "function",
    "inputs": [
      {
        "name": "_user",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "_stakingIdx",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "tuple",
        "components": [
          {
            "name": "amount",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "refund",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "reward",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "rewardAt",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "latestRoi",
            "type": "int256",
            "internalType": "int256"
          },
          {
            "name": "referrer",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "flag",
            "type": "uint8",
            "internalType": "uint8"
          }
        ],
        "internalType": "struct ExtoPlanV7.Staking"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "getUserStakings",
    "type": "function",
    "inputs": [
      {
        "name": "_user",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "tuple[]",
        "components": [
          {
            "name": "amount",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "refund",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "reward",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "rewardAt",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "latestRoi",
            "type": "int256",
            "internalType": "int256"
          },
          {
            "name": "referrer",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "flag",
            "type": "uint8",
            "internalType": "uint8"
          }
        ],
        "internalType": "struct ExtoPlanV7.Staking[]"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "getYieldRate",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "int256",
        "internalType": "int256"
      },
      {
        "name": "",
        "type": "int256",
        "internalType": "int256"
      },
      {
        "name": "",
        "type": "int256",
        "internalType": "int256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "initEnroll",
    "type": "function",
    "inputs": [
      {
        "name": "_minDeposit",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "_maxDeposit",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "_ev",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "_targetDeposit",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "_enrollStartAt",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "_enrollPeriod",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "_isIndivReward",
        "type": "bool",
        "internalType": "bool"
      },
      {
        "name": "_planPeriod",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "_isSingleContract",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "initialize",
    "type": "function",
    "inputs": [
      {
        "name": "_exto",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "_oracle",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "_creator",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "_tokenMiles",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "_baseRate",
        "type": "int256",
        "internalType": "int256"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "isClosePlan",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "isIndivReward",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "isSingleContract",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "mapClaimable",
    "type": "function",
    "inputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "mapDeposits",
    "type": "function",
    "inputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "mapRefunds",
    "type": "function",
    "inputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "mapRewards",
    "type": "function",
    "inputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "mapStaking",
    "type": "function",
    "inputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "amount",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "refund",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "reward",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "rewardAt",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "latestRoi",
        "type": "int256",
        "internalType": "int256"
      },
      {
        "name": "referrer",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "flag",
        "type": "uint8",
        "internalType": "uint8"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "maxDeposit",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "minDeposit",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "operator",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "owner",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "pause",
    "type": "function",
    "inputs": [],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "paused",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "planEndAt",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "planLockupPeriod",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "planPeriod",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "planStartAt",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "refundStaking",
    "type": "function",
    "inputs": [
      {
        "name": "_stakingIdx",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "_refund",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "refundStakings",
    "type": "function",
    "inputs": [
      {
        "name": "_stakingIdx",
        "type": "uint256[]",
        "internalType": "uint256[]"
      },
      {
        "name": "_refund",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "renounceOwnership",
    "type": "function",
    "inputs": [],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "resetDeposit",
    "type": "function",
    "inputs": [
      {
        "name": "_old",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "_new",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "rewardCount",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "rewardSentAt",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "rewardTerm",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "setCreator",
    "type": "function",
    "inputs": [
      {
        "name": "_creator",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setDepositAmount",
    "type": "function",
    "inputs": [
      {
        "name": "_minDeposit",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "_maxDeposit",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setEnrollment",
    "type": "function",
    "inputs": [
      {
        "name": "_enrollStartAt",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "_enrollPeriod",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setFeeRate",
    "type": "function",
    "inputs": [
      {
        "name": "_feeRate",
        "type": "uint32",
        "internalType": "uint32"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setFlagStatus",
    "type": "function",
    "inputs": [
      {
        "name": "_holder",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "_stakingIdx",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "_flag",
        "type": "uint8",
        "internalType": "uint8"
      },
      {
        "name": "_value",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setIndivReward",
    "type": "function",
    "inputs": [
      {
        "name": "_isIndivReward",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setOperator",
    "type": "function",
    "inputs": [
      {
        "name": "_operator",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setPeriod",
    "type": "function",
    "inputs": [
      {
        "name": "_planPeriod",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setPlanLockupPeriod",
    "type": "function",
    "inputs": [
      {
        "name": "_planLockupPeriod",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setPlanPeriod",
    "type": "function",
    "inputs": [
      {
        "name": "_planStartAt",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "_planPeriod",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setRewardTerm",
    "type": "function",
    "inputs": [
      {
        "name": "__rewardTerm",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setTargetDeposit",
    "type": "function",
    "inputs": [
      {
        "name": "_targetDeposit",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "startPlan",
    "type": "function",
    "inputs": [
      {
        "name": "_planStartAt",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "_planPeriod",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "_rewardTerm",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "targetDeposit",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "tempDeposits",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "totalDeposit",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "totalEnrollments",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "totalRefund",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "totalRewards",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "transferDeposits",
    "type": "function",
    "inputs": [
      {
        "name": "_tempDeposits",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "_creator",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "transferOwnership",
    "type": "function",
    "inputs": [
      {
        "name": "newOwner",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "unpause",
    "type": "function",
    "inputs": [],
    "outputs": [],
    "stateMutability": "nonpayable"
  }
]

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.