Skip to content

Instantly share code, notes, and snippets.

View Yalchin403's full-sized avatar
🏠
Working from home

Yalchin403 Yalchin403

🏠
Working from home
View GitHub Profile
@Yalchin403
Yalchin403 / contracts...Payable.sol
Created January 4, 2023 14:54
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
contract MyPayable {
address payable public myAddress;
constructor() payable {
myAddress = payable(msg.sender);
@Yalchin403
Yalchin403 / contracts...Payable.sol
Created January 4, 2023 14:54
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
contract MyPayable {
address payable public myAddress;
constructor() payable {
myAddress = payable(msg.sender);