Can I transfer ERC20 token from smart contract function?

Multi tool use
up vote
0
down vote
favorite
I want to implement a smart contract function to transfer ERC20 token.
This ERC20 token has already been issued and its contract address, contract owner's address are known.
I know transferring ether in a smart contract function can be realized by
fromAddress.transfer(amount);
Is there any method to transfer ERC20 token in a smart contract function?
ethereum transfer smartcontracts erc20
add a comment |
up vote
0
down vote
favorite
I want to implement a smart contract function to transfer ERC20 token.
This ERC20 token has already been issued and its contract address, contract owner's address are known.
I know transferring ether in a smart contract function can be realized by
fromAddress.transfer(amount);
Is there any method to transfer ERC20 token in a smart contract function?
ethereum transfer smartcontracts erc20
Provide some examples. That will be helpful. Use Alice and Bob as characters.
– Zulhilmi Zainudin
Nov 5 at 10:31
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I want to implement a smart contract function to transfer ERC20 token.
This ERC20 token has already been issued and its contract address, contract owner's address are known.
I know transferring ether in a smart contract function can be realized by
fromAddress.transfer(amount);
Is there any method to transfer ERC20 token in a smart contract function?
ethereum transfer smartcontracts erc20
I want to implement a smart contract function to transfer ERC20 token.
This ERC20 token has already been issued and its contract address, contract owner's address are known.
I know transferring ether in a smart contract function can be realized by
fromAddress.transfer(amount);
Is there any method to transfer ERC20 token in a smart contract function?
ethereum transfer smartcontracts erc20
ethereum transfer smartcontracts erc20
asked Nov 5 at 3:27
user46556
11
11
Provide some examples. That will be helpful. Use Alice and Bob as characters.
– Zulhilmi Zainudin
Nov 5 at 10:31
add a comment |
Provide some examples. That will be helpful. Use Alice and Bob as characters.
– Zulhilmi Zainudin
Nov 5 at 10:31
Provide some examples. That will be helpful. Use Alice and Bob as characters.
– Zulhilmi Zainudin
Nov 5 at 10:31
Provide some examples. That will be helpful. Use Alice and Bob as characters.
– Zulhilmi Zainudin
Nov 5 at 10:31
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53147921%2fcan-i-transfer-erc20-token-from-smart-contract-function%23new-answer', 'question_page');
}
);
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
6VMAVwgSp8L,TOvkAn,3xihlRfXbBWhh
Provide some examples. That will be helpful. Use Alice and Bob as characters.
– Zulhilmi Zainudin
Nov 5 at 10:31