I dont really understand payable() should i use
contract(){
receive() {
somefunction()
}
somefunction() payable external{
}
or it is enough to use
contract(){
somefunction() payable external{}
}
do they need to be used together - we use fallback function and some normal payable modifier what is the difference of using them both or just fallback or just somefunction? What if there are 2 functions with modifier payable can you give me some examples?