Source Code
Overview
GLMR Balance
GLMR Value
$0.00Latest 12 from a total of 12 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Transfer | 5156005 | 766 days ago | IN | 0.2 GLMR | 0.02438561 | ||||
| Transfer | 5156002 | 766 days ago | IN | 0.2 GLMR | 0.03117266 | ||||
| Transfer | 5156000 | 766 days ago | IN | 0.2 GLMR | 0.02600897 | ||||
| Transfer | 5155998 | 766 days ago | IN | 0.2 GLMR | 0.02169088 | ||||
| Transfer | 5155996 | 766 days ago | IN | 0.2 GLMR | 0.01807897 | ||||
| Transfer | 5155994 | 766 days ago | IN | 0.2 GLMR | 0.01506577 | ||||
| Transfer | 5155992 | 766 days ago | IN | 0.2 GLMR | 0.01255585 | ||||
| Transfer | 5155990 | 766 days ago | IN | 0.2 GLMR | 0.01046231 | ||||
| Transfer | 5155988 | 766 days ago | IN | 0.2 GLMR | 0.00871464 | ||||
| Transfer | 5155986 | 766 days ago | IN | 0.2 GLMR | 0.00726138 | ||||
| Transfer | 5155981 | 766 days ago | IN | 0.1 GLMR | 0.00810179 | ||||
| Transfer | 5155979 | 766 days ago | IN | 0.1 GLMR | 0.0072837 |
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
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
- No Contract Security Audit Submitted- Submit Audit Here
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"}]Contract Creation Code
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
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in GLMR
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
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.