Add _ to remaining internal/private functions

This commit is contained in:
Amir Bandeali
2019-05-07 16:00:14 -07:00
parent 3217c1e11f
commit 6763bce627
19 changed files with 68 additions and 69 deletions

View File

@@ -97,7 +97,7 @@ contract ERC1155 is
emit TransferSingle(msg.sender, from, to, id, value);
// if `to` is a contract then trigger its callback
if (to.isContract()) {
if (to._isContract()) {
bytes4 callbackReturnValue = IERC1155Receiver(to).onERC1155Received(
msg.sender,
from,
@@ -177,7 +177,7 @@ contract ERC1155 is
emit TransferBatch(msg.sender, from, to, ids, values);
// if `to` is a contract then trigger its callback
if (to.isContract()) {
if (to._isContract()) {
bytes4 callbackReturnValue = IERC1155Receiver(to).onERC1155BatchReceived(
msg.sender,
from,

View File

@@ -128,7 +128,7 @@ contract ERC1155Mintable is
);
// if `to` is a contract then trigger its callback
if (dst.isContract()) {
if (dst._isContract()) {
bytes4 callbackReturnValue = IERC1155Receiver(dst).onERC1155Received(
msg.sender,
msg.sender,
@@ -177,7 +177,7 @@ contract ERC1155Mintable is
emit TransferSingle(msg.sender, address(0x0), dst, id, 1);
// if `to` is a contract then trigger its callback
if (dst.isContract()) {
if (dst._isContract()) {
bytes4 callbackReturnValue = IERC1155Receiver(dst).onERC1155Received(
msg.sender,
msg.sender,