GLMR Price: $0.019057 (-4.86%)

Contract

0xFBEe43A95bA0e338EC9032Ddc95067E3Fc5b8B62

Overview

GLMR Balance

Moonbeam Chain LogoMoonbeam Chain LogoMoonbeam Chain Logo0 GLMR

GLMR Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Block
From
To
Transfer51560052023-12-25 8:58:42766 days ago1703494722IN
0xFBEe43A9...3Fc5b8B62
0.2 GLMR0.02438561345.59137482
Transfer51560022023-12-25 8:58:06766 days ago1703494686IN
0xFBEe43A9...3Fc5b8B62
0.2 GLMR0.03117266345.22750865
Transfer51560002023-12-25 8:57:42766 days ago1703494662IN
0xFBEe43A9...3Fc5b8B62
0.2 GLMR0.02600897345.64801677
Transfer51559982023-12-25 8:57:18766 days ago1703494638IN
0xFBEe43A9...3Fc5b8B62
0.2 GLMR0.02169088345.91407323
Transfer51559962023-12-25 8:56:54766 days ago1703494614IN
0xFBEe43A9...3Fc5b8B62
0.2 GLMR0.01807897345.97593869
Transfer51559942023-12-25 8:56:24766 days ago1703494584IN
0xFBEe43A9...3Fc5b8B62
0.2 GLMR0.01506577345.97377846
Transfer51559922023-12-25 8:56:00766 days ago1703494560IN
0xFBEe43A9...3Fc5b8B62
0.2 GLMR0.01255585345.99622544
Transfer51559902023-12-25 8:55:36766 days ago1703494536IN
0xFBEe43A9...3Fc5b8B62
0.2 GLMR0.01046231345.96445076
Transfer51559882023-12-25 8:55:12766 days ago1703494512IN
0xFBEe43A9...3Fc5b8B62
0.2 GLMR0.00871464345.80558787
Transfer51559862023-12-25 8:54:48766 days ago1703494488IN
0xFBEe43A9...3Fc5b8B62
0.2 GLMR0.00726138345.76367846
Transfer51559812023-12-25 8:53:48766 days ago1703494428IN
0xFBEe43A9...3Fc5b8B62
0.1 GLMR0.00810179346.61572157
Transfer51559792023-12-25 8:53:24766 days ago1703494404IN
0xFBEe43A9...3Fc5b8B62
0.1 GLMR0.0072837346.82659206

Latest 3 internal transactions

Parent Transaction Hash Block From To
51560052023-12-25 8:58:42766 days ago1703494722
0xFBEe43A9...3Fc5b8B62
0.1365707 GLMR
51560052023-12-25 8:58:42766 days ago1703494722
0xFBEe43A9...3Fc5b8B62
0.06342929 GLMR
51559642023-12-25 8:50:24766 days ago1703494224  Contract Creation0 GLMR
Cross-Chain Transactions
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x492411d7...64FEaa516
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
PrePaidContract

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU GPLv3 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at moonbeam.moonscan.io on 2023-06-11
*/

// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.18 <0.8.20;

abstract contract AbstractTM {
  address internal masterCopy;

  bytes32 internal name32;
  uint256 private ownerPrices;                                                  // buyPrice, sellPrice, owner address

  mapping(address => uint256)                     private balances;
  mapping(address => mapping(address => uint256)) private allowed;

  function getMemberBalances(bytes32 hash,address gwfc) external view virtual returns (uint[] memory);
  function balanceOf(address tokenOwner) external view virtual returns (uint thebalance);
  function sellPrice() external view virtual returns (uint256 sp);
  function buyPrice() external view virtual returns (uint256 bp);
  function name() external view virtual returns (string memory);
  function owner() external view virtual returns (address ow);
  function getMasterCopy() external view virtual returns (address);
}

abstract contract AbstractTPC {
  address public masterCopy;
  function upgrade(address master) external virtual payable;
  function version() public pure virtual returns(uint256 v);
}

contract PrePaidContract {
    address private pp_account;
    address private pp_owner;

    event PrePaidCreated(address indexed);
    event DepositPrePayment(address from, uint256 value);
    
    constructor(address _account) payable {
      pp_account = _account;
      pp_owner   = AbstractTM(AbstractTPC(msg.sender).masterCopy()).getMasterCopy();
      emit PrePaidCreated(address(this));
    }
    
    receive() external payable {
      if (msg.value==0) return;                                                 // no payment at all
      
      uint256 gasPrice;
      assembly { gasPrice := gasprice() }
  
      require(payable(pp_account).send(msg.value-uint(gasPrice*400296))&&payable(pp_owner).send(address(this).balance),"pp"); // forwarding funding - cost of transaction
     
      emit DepositPrePayment(msg.sender, msg.value);
    }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"DepositPrePayment","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"","type":"address"}],"name":"PrePaidCreated","type":"event"},{"stateMutability":"payable","type":"receive"}]

0x60806040526040516103003803806103008339810160408190526100229161014f565b600080546001600160a01b0319166001600160a01b0383161790556040805163530ca43760e11b81529051339163a619486e9160048083019260209291908290030181865afa158015610079573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061009d919061014f565b6001600160a01b03166304e80e906040518163ffffffff1660e01b8152600401602060405180830381865afa1580156100da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100fe919061014f565b600180546001600160a01b0319166001600160a01b039290921691909117905560405130907f1ba71f9564fde2683a8a8cdc86fb4d2710c19374a52c8719412dee7270841d8490600090a25061017f565b60006020828403121561016157600080fd5b81516001600160a01b038116811461017857600080fd5b9392505050565b6101728061018e6000396000f3fe6080604052366100f1573460000361001357005b6000543a906001600160a01b03166108fc6100318362061ba861010c565b61003b9034610129565b6040518115909202916000818181858888f19350505050801561008257506001546040516001600160a01b03909116904780156108fc02916000818181858888f193505050505b6100b75760405162461bcd60e51b8152602060048201526002602482015261070760f41b604482015260640160405180910390fd5b604080513381523460208201527f927ab32c68a90a4cf460f95be1736eb7d1e77681f3320c240f853ca95ee2827f910160405180910390a1005b600080fd5b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610123576101236100f6565b92915050565b81810381811115610123576101236100f656fea2646970667358221220b32b0dc2e6dc86e2b8f835baa168305cd0ebe5ae796c4eb4d0b8359ad8aa31ad64736f6c63430008130033000000000000000000000000908d02184d5df5b5f7d4d8e0b08bcf1a95c26109

Deployed Bytecode

0x6080604052366100f1573460000361001357005b6000543a906001600160a01b03166108fc6100318362061ba861010c565b61003b9034610129565b6040518115909202916000818181858888f19350505050801561008257506001546040516001600160a01b03909116904780156108fc02916000818181858888f193505050505b6100b75760405162461bcd60e51b8152602060048201526002602482015261070760f41b604482015260640160405180910390fd5b604080513381523460208201527f927ab32c68a90a4cf460f95be1736eb7d1e77681f3320c240f853ca95ee2827f910160405180910390a1005b600080fd5b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610123576101236100f6565b92915050565b81810381811115610123576101236100f656fea2646970667358221220b32b0dc2e6dc86e2b8f835baa168305cd0ebe5ae796c4eb4d0b8359ad8aa31ad64736f6c63430008130033

Deployed Bytecode Sourcemap

1153:876:0:-:0;;;;;;1617:9;1628:1;1617:12;1613:25;;1153:876;1613:25;1723:16;1811:10;1771;;-1:-1:-1;;;;;1811:10:0;1803:57;1843:15;1771:10;1852:6;1843:15;:::i;:::-;1828:31;;:9;:31;:::i;:::-;1803:57;;;;;;;;;;;;;;;;;;;;;:104;;;;-1:-1:-1;1870:8:0;;1862:45;;-1:-1:-1;;;;;1870:8:0;;;;1885:21;1862:45;;;;;1870:8;1862:45;1870:8;1862:45;1885:21;1870:8;1862:45;;;;;;;1803:104;1795:118;;;;-1:-1:-1;;;1795:118:0;;654:2:1;1795:118:0;;;636:21:1;693:1;673:18;;;666:29;-1:-1:-1;;;711:18:1;;;704:32;753:18;;1795:118:0;;;;;;;;1978:40;;;1996:10;956:51:1;;2008:9:0;1038:2:1;1023:18;;1016:34;1978:40:0;;929:18:1;1978:40:0;;;;;;;1604:422;1153:876;;;;14:127:1;75:10;70:3;66:20;63:1;56:31;106:4;103:1;96:15;130:4;127:1;120:15;146:168;219:9;;;250;;267:15;;;261:22;;247:37;237:71;;288:18;;:::i;:::-;146:168;;;;:::o;319:128::-;386:9;;;407:11;;;404:37;;;421:18;;:::i

Swarm Source

ipfs://b32b0dc2e6dc86e2b8f835baa168305cd0ebe5ae796c4eb4d0b8359ad8aa31ad

Block Transaction Gas Used Reward
view all blocks collator

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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.