Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
The payable modifier in Solidity can be used to make smart contract functions able to receive either, or to make Ether transfers to address variables possible.
1
vote
1
answer
175
views
What does mutability guarantees mean in erc721
Some functions from ERC-721 interface contain payable modifiers. … function transferFrom(address _from, address _to, uint256 _tokenId) external payable;
I was wondering why it is payable and found from EIP-721 that explains why. …
0
votes
2
answers
3k
views
address payable type error
Just upgraded truffle to version 5 and having a problem with this new address payable type. … contract Test {
ERC721Full public tokenAddress;
constructor(address _address) public {
tokenAddress = ERC721Full (_address);
}
function sendToOwner(...) public payable {
address payable …
1
vote
1
answer
2k
views
Transaction reverting when it hits Require statement in payable function
Note: The constructor should be payable if you send value. Debug the transaction to get more information. … contract Test {
function Test() {
owner = msg.sender;
}
function pay(uint _price) payable returns (bool) {
//... …